Commit Graph

465 Commits

Author SHA1 Message Date
Pavel Punegov 9400ee6a8e Ignore failing tests 2017-11-09 12:48:21 +03:00
Pavel Punegov fed1a5d63f Fix packages that have the same names as locals 2017-11-09 12:48:21 +03:00
Ilya Matveev 06c02e5e8d backend: Allow fake nullables in FOR loops 2017-11-09 12:42:49 +03:00
Ilya Matveev d7795bb207 tests: Support custom konan.home for platform lib tests
* Move testLibrary tasks from klib into backend.native/tests
 * Support konan.home property in them
2017-11-02 17:40:27 +03:00
Alexander Gorshenev 31662cc445 Allow specifying top level target and flavor in nativeInteropPlugin. 2017-10-25 12:38:57 +03:00
Alexander Gorshenev feb581601e After combining all tests into a single binary,
we need to increase wasm32 stack size a little,
for the `parse0` test to pass.
2017-10-24 12:24:55 +03:00
alexander-gorshenev 5700fa8cea Allow a couple of test pass on linux_mips32 target. 2017-10-23 19:34:34 +03:00
Alexander Gorshenev dc8840e14c No testLibrary for cross compilation targets. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev 886ef5fe5a Moved a newly created test to Standalone category. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev 3c5602017f Several typos in comments and messages. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev 19fe0168ad Tuned test golden value. 2017-10-23 16:03:20 +03:00
Alexander Gorshenev e2e883ee08 Introduced testLibrary and a test utilizing it. 2017-10-23 16:03:20 +03:00
Pavel Punegov 85a782cd7e Disable test for wasm32 due to KT-20862 2017-10-20 18:25:05 +03:00
Pavel Punegov 9633a09c07 Exclude tests that could not be used with TestRunner automatically 2017-10-20 18:25:05 +03:00
Pavel Punegov 535e18fc20 Simplify dependence on buildKonanTests. Remove arguments from test 2017-10-20 18:25:05 +03:00
Pavel Punegov d56a4f8830 Fixes to tests: forgotten package names and tests 2017-10-20 18:25:05 +03:00
Pavel Punegov a6af8aa11c Uncomment incorrectly commented out tests 2017-10-20 18:25:05 +03:00
Pavel Punegov 35505007d2 TestRunner support in test's build.gradle
* Fixes to tests
 * RunKonanTest runs tests build with TestRunner
 * Standalone tests
2017-10-20 18:25:05 +03:00
Pavel Punegov 9d077d7f4f BC native tests port to Konan's TestRunner 2017-10-20 18:25:05 +03:00
Vasily Levchenko d470df57c0 [tests][teaspot opengl] fix build 2017-10-19 10:06:08 +03:00
Svyatoslav Scherbina ffb0d0cfcb Add quickfix for unsupported typedef NSFoo Bar. 2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina e8f97b0436 Represent Objective-C block pointers in methods as Kotlin functions
Also do some refactoring.
2017-10-17 13:23:21 +03:00
Svyatoslav Scherbina a0dc2ecef2 Enable method signature checks when overriding Objective-C method 2017-10-17 13:23:21 +03:00
Mike Sinkovsky f4c90e1a86 fix gradle 4.2 warning on windows (#937) 2017-10-13 12:54:22 +03:00
Alexander Gorshenev 17ae2343d4 There is not platform.posix for wasm32. 2017-10-12 10:56:21 +03:00
Alexander Gorshenev 2445357166 A test to check we don't throw away a library dependency only because it
it a default lib not needed in the main program.
2017-10-11 17:05:12 +03:00
Svyatoslav Scherbina c7588d7928 Use packages specified in .def files for platform libs 2017-10-09 17:24:47 +03:00
SvyatoslavScherbina 7795a7856a Support global variables in interop (#903) 2017-10-06 10:56:31 +03:00
Vasily Levchenko 3777d86be2 [tests][interop] fix sockets.def placement closer to test (fix build) 2017-10-06 06:29:08 +03:00
Igor Chevdar fa21a260b1 Fixed coroutines for wasm
Replaced llvm indirectBr instruction with switch instruction.
2017-10-05 14:10:06 +03:00
Ilya Matveev 8fcc4c4f30 unit-tests: Add tests for test runner 2017-10-05 11:37:34 +03:00
Igor Chevdar df3e114f31 Added phase RETURNS_INSERTION
Moved explicit insertion of return statement from code generator to a lowering
2017-10-04 13:31:30 +03:00
Alexander Gorshenev 606f98f9d3 Added minimal posix.def for windows. 2017-09-28 12:32:09 +03:00
Sergey Bogolepov 0fb788d580 Renamed targets. Added linux_ prefix
mips32   -> linux_mips32
mipsel32 -> linux_mipsel32
2017-09-26 16:18:33 +03:00
Sergey Bogolepov b7978c3a1f Renamed targets.
mips -> mips32
mipsel -> mipsel32
2017-09-26 16:18:33 +03:00
Sergey Bogolepov 46eed4efbb Enabled disabled targets 2017-09-26 16:18:33 +03:00
Sergey Bogolepov ca567ac35c Added support for mipsel 2017-09-26 16:18:33 +03:00
Sergey Bogolepov 9187022721 Initial support for MIPS 2017-09-26 16:18:33 +03:00
SvyatoslavScherbina 786374ef86 Add basic support for class references
Also use class name for `Any.toString` and `Throwable.toString`.
2017-09-26 10:59:45 +03:00
Svyatoslav Scherbina a6ca64871f Implement explicit and implicit object pinning for interop
This allows passing Kotlin primitive arrays directly to native
2017-09-26 09:50:42 +03:00
Vasily Levchenko 197f77f8e3 [tests] string builder appendln tests 2017-09-25 17:51:33 +03:00
Ilya Matveev 412d0485e4 box-tests: Remove duplicating assertions from testUtils.kt
The testUtils.kt contains some assertions which are now implemented
in stdlib. This patch removes them from testUtils.kt
2017-09-25 13:45:11 +03:00
Alexander Gorshenev f1c3e866b4 A couple of tests for default libraries. 2017-09-25 12:49:22 +03:00
Ilya Matveev 6db5bbb4f0 unit-tests: Disable tests for unit tests support on wasm32 2017-09-25 11:31:22 +03:00
Ilya Matveev 4c3016d21b unit-tests: Minor fixes before review 2017-09-25 11:31:22 +03:00
Ilya Matveev 2d757c4150 unit-tests: Add assertion and annotation tests 2017-09-25 11:31:22 +03:00
Ilya Matveev 345e3570cc unit-tests: Support tests in objects 2017-09-25 11:31:22 +03:00
Ilya Matveev f1c59707dd unit-tests: Top level test support 2017-09-25 11:31:22 +03:00
Ilya Matveev 45992a2b75 unit-tests: Simple support for test classes 2017-09-25 11:31:22 +03:00
Vasily Levchenko f26e5b5f02 unit-tests: Create a simple test runner implementation 2017-09-25 11:31:22 +03:00