Commit Graph

179 Commits

Author SHA1 Message Date
Ilya Matveev 8ec33334a4 backend/tests: Enable some tests in the binaryOp group 2017-01-20 14:24:26 +03:00
Ilya Matveev 2ef49da2fe backend/tests: Ignore all tests with IGNORE_BACKEND: JS directive 2017-01-20 14:04:04 +03:00
Ilya Matveev d24f966600 backend/tests: Regenerated external test tasks 2017-01-20 14:04:04 +03:00
Ilya Matveev bfdda21da1 backend/tests: Added task generation for test groups instead of tests 2017-01-20 14:04:04 +03:00
Ilya Matveev b6587252c0 backend/tests: Added test group running 2017-01-20 14:04:04 +03:00
Ilya Matveev ee58c7ee5f backend/tests: Added autogenerated tasks for external tests 2017-01-20 14:04:04 +03:00
Ilya Matveev fd44baf2c0 backend/tests: Infrastructure for external test running 2017-01-20 14:04:04 +03:00
Ilya Matveev 1b553ebfaf backend/tests: Add blackbox tests from Kotlin JVM
Added tests from testData/codegen/box directory. There are blackbox tests
in other directories and they are to be added.
2017-01-20 14:04:04 +03:00
Svyatoslav Scherbina d5988297b1 backend/tests: add objectExpression{1,2,3} 2017-01-20 17:53:38 +07:00
Nikolay Igotti eb6ba1cfa5 Fix primitive type globals initialization. (#189) 2017-01-20 13:31:47 +03:00
Nikolay Igotti 1c878e4843 Improve object init order. (#187) 2017-01-20 13:31:01 +03:00
KonstantinAnisimov 1a83014eba Merge branch 'master' into inline 2017-01-20 10:26:34 +07:00
Konstantin Anisimov 551218c133 TESTS: new tests added 2017-01-18 17:21:04 +07:00
Svyatoslav Scherbina 8474168960 backend/tests: add objectInitialization1 2017-01-18 12:33:43 +07:00
Nikolay Igotti 90577d440a Improve object arrays support. (#182)
Also fix the way how symbol names are being generated. Before arrays2.kt was not linking.
2017-01-16 12:22:27 +03:00
Svyatoslav Scherbina 3b4c25988e backend/tests: add defaults{4,5,6} 2017-01-16 10:57:40 +07:00
Vasily Levchenko a8caf7c7d8 TEST: test for default parameters
(cherry picked from commit 7999d68d812aedd5863f04b7fd2171e284b8f332)
2017-01-13 13:42:02 +03:00
Nikolay Igotti b1101ba43e Cycle collector. (#175) 2017-01-11 17:38:03 +03:00
Svyatoslav Scherbina 8b83cb2adf backend: enable some tests 2017-01-11 19:32:25 +07:00
Konstantin Anisimov 9a363ceaf6 TESTS: new tests added 2017-01-09 17:16:54 +07:00
Konstantin Anisimov c46ba1aa3f TESTS: passing changes in the test 2017-01-09 17:16:24 +07:00
Konstantin Anisimov 252af6ce15 TESTS: test for inlining integrated in the testsuite 2017-01-09 17:16:24 +07:00
Konstantin Anisimov df87c8e794 TEST: test for inlining added 2017-01-09 17:01:34 +07:00
Nikolay Igotti 61d6967f3c Support missing when branch exception throwing. (#174) 2016-12-31 12:01:56 +03:00
Svyatoslav Scherbina 5d8a28e5fc backend/tests: add runtime/memory/throw_cleanup.kt 2016-12-30 14:48:51 +07:00
Nikolay Igotti 667d3b9356 Switch when to phi. (#172) 2016-12-29 16:33:23 +03:00
Nikolay Igotti 174cdc321c Properly keep track of references. (#169) 2016-12-29 14:11:17 +03:00
Svyatoslav Scherbina 276e3bcd44 backend/tests:
* enable 'expression_as_statement'
* add unit{1..4}
2016-12-29 12:18:15 +07:00
Nikolay Igotti ddf47e9359 Add more init tests. 2016-12-28 15:26:44 +03:00
Svyatoslav Scherbina c0914825d9 backend/tests: add disabled test 'fields2'
Checks properties with custom accessors and backing fields.
2016-12-28 14:00:45 +07:00
Svyatoslav Scherbina 8b40b9645a backend/tests: add disabled tests memory_var{1..4} 2016-12-28 13:51:14 +07:00
Alexander Gorshenev 413f47fda5 Removed 'clang' invocations in favour of llvm tools and 'ld'.
Introduced LinkStage in the compiler.

Removed the link stage from 'konanc'.

Removed duplicate :stdlib and :start targets.

Simplified test run task a lot.
2016-12-28 02:13:07 +04:00
Nikolay Igotti e65b86ab21 Memory management design and implementation. (#148) 2016-12-27 15:01:18 +02:00
Vasily Levchenko 3fe59cc46c TEST: convertion unit tests into run tests 2016-12-27 13:56:03 +03:00
Nikolay Igotti f49c6133f3 Return objects to slot. (#161) 2016-12-26 18:31:50 +02:00
Svyatoslav Scherbina 62737efd54 backend: add tests:
* test for uninitialized vals
* test initializers3: global `var` of reference type
* expression_as_statement (disabled): using type operator as statement

Also enable test break1.
2016-12-23 11:40:31 +07:00
SvyatoslavScherbina b6561b13a4 Implement lowering of some builtin operators. (#154)
* EQEQ
* THROW_NPE

Add test for (un)boxing `==` operands.
2016-12-22 13:02:20 +07:00
Alexander Gorshenev 823ef031eb After the code review. 2016-12-20 19:32:27 +04:00
Konstantin Anisimov 5f097350ac TEST: test for global variable initialization added 2016-12-20 12:46:22 +03:00
Konstantin Anisimov 86bb5477c5 CODEGEN: implementation of global fields initialization. 2016-12-20 12:46:22 +03:00
Svyatoslav Scherbina f2b5b98dba backend: enable and add tests for autoboxing 2016-12-20 15:33:38 +07:00
Nikolay Igotti 3b7321ef94 Boxing. 2016-12-20 15:33:38 +07:00
Alexander Gorshenev e8c2fb4f53 Fix broken build. 2016-12-14 21:49:11 +04:00
Alexander Gorshenev f5a627f6ff Allow -Pkonanc_flags="-print_bitcode" for gradle commands. 2016-12-14 20:40:45 +04:00
Svyatoslav Scherbina 319a473565 backend: add test for lambda with receiver 2016-12-13 16:09:55 +07:00
Svyatoslav Scherbina ac4aca1c3a backend: add more tests for lambda 2016-12-13 16:09:55 +07:00
Svyatoslav Scherbina 4dec392880 backend: add tests for lambda functions 2016-12-13 16:09:55 +07:00
Nikolay Igotti 34077e26ac Fix multiple object storage. (#131) 2016-12-08 16:45:47 +03:00
Nikolay Igotti c9f2e1ca22 More standard library operations. (#124) 2016-12-08 15:44:22 +03:00
Konstantin Anisimov 282f4fee07 TEST: yet another string concatenation test 2016-12-08 13:37:22 +03:00