Commit Graph

372 Commits

Author SHA1 Message Date
alexander-gorshenev e2040f9b5d Disabled cross targets for the produce dynamic test.
MIPS and WASM32 need more attention.
2017-12-15 13:25:10 +03:00
Alexander Gorshenev bf612fdbdc A -produce dynamic test. 2017-12-15 13:25:10 +03:00
ilmat192 cba7319e98 Fix utf8 conversion (#1121) 2017-12-12 13:30:50 +03:00
Igor Chevdar 03ef9e4855 Added test on special bridges 2017-12-07 17:06:13 +03:00
Igor Chevdar 86e221ed58 Added tests on workers's bridges 2017-12-06 18:32:22 +03:00
Igor Chevdar 05179971c1 Added test 2017-12-04 16:09:05 +03:00
Alexander Gorshenev cdd3185920 Instead of execClang we now have execKonanClang which properly invokes
the distribution clang able to utilize distributed sysroots etc.
And execBareClang which just invokes the distribution clang with system sysroot.
2017-12-01 12:11:34 +03:00
Pavel Punegov 1c371bc937 Review fix 2017-11-24 15:02:43 +03:00
Pavel Punegov 8ac1fed0f3 Build results file even if some tasks failed with exception 2017-11-24 15:02:43 +03:00
Pavel Punegov ffa1ffa659 Update box tests to 1.2.0-rc-39 2017-11-16 17:21:48 +03:00
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