Commit Graph

362 Commits

Author SHA1 Message Date
Alexander Gorshenev 5c1a414347 A do-while loop serialization test. 2017-11-15 12:49:42 +03:00
Alexander Gorshenev 3e0b50ef6b A test for catch serialization. 2017-11-15 12:49:42 +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 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 e8f97b0436 Represent Objective-C block pointers in methods as Kotlin functions
Also do some refactoring.
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
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
Vasily Levchenko 197f77f8e3 [tests] string builder appendln tests 2017-09-25 17:51:33 +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 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
Ilya Matveev ea667ebc5c stdlib: Add exitProcess function 2017-09-07 18:48:10 +03:00
Svyatoslav Scherbina 4e285a5ef4 Implement equals, hashCode and toString for Objective-C objects 2017-09-06 23:57:19 +03:00
Igor Chevdar 136c62a62c Added test on workers with invalid transfer attempt 2017-08-29 16:39:49 +03:00
Nikolay Igotti 109f84f9af Immutable data prototype. (#799) 2017-08-22 16:21:10 +03:00
Svyatoslav Scherbina 99dd7227dc Support Boolean in interop varargs and function pointers invocation 2017-08-18 17:45:41 +03:00
Svyatoslav Scherbina 5586d29764 Add basic support for calling C function pointers
Fix #739
2017-08-18 17:45:41 +03:00
Svyatoslav Scherbina 5c3e8d63d4 Support bit fields in interop
Fix #728
2017-08-16 15:03:58 +03:00
Svyatoslav Scherbina d3185e3e19 Implement very basic Objective-C interop
Also refactor StubGenerator
2017-08-16 10:04:23 +03:00