Commit Graph

360 Commits

Author SHA1 Message Date
Ilya Matveev f096e272b3 backend.native/tests: Add JSON output to run-external task 2017-01-25 17:24:36 +03:00
Ilya Matveev 6e0c2fface backend.native/tests: Add clean task to remove test output directory 2017-01-25 17:24:36 +03:00
Ilya Matveev c04233aebb buildSrc: Save test results to JSON 2017-01-25 17:24:36 +03:00
Ilya Matveev a4c4b1e7af buildSrc: Use SourceSet to define test output directory. 2017-01-25 17:24:36 +03:00
Vasily Levchenko 99a962df42 TEST:EXTERNAL: run task added 2017-01-25 17:24:36 +03:00
Vasily Levchenko 6729d1d824 TEST: external generate run task for externals 2017-01-25 17:24:36 +03:00
Vasily Levchenko 7cbaa7d6ca EXTERNAL:TEST: regenerated 2017-01-25 17:24:36 +03:00
Vasily Levchenko a59de510cd TEST: more fixes in template 2017-01-25 17:24:36 +03:00
Vasily Levchenko b9b44ebeb4 test: fixed task daily declaration 2017-01-25 17:24:36 +03:00
Vasily Levchenko 822816da3f tests: external gradle script generation emproved 2017-01-25 17:24:36 +03:00
Nikolay Igotti c6a4ec2ff4 Add enumeration support. (#128)
* Add enumeration support.

* Enum classes lowering.

* merge fix

* merge fix

* used arrayOf from irModule

* changed lowering quant from body to file

* refactoring

* review fixes

* lowering for GET_OBJECT in enums

* enabled tests

* added tests

* moved tests to separate dir

* renamed test files

* moved phase up

* review fixes

* reformat
2017-01-25 14:39:36 +05:00
Konstantin Anisimov 88d830e5b7 TESTS: new test added 2017-01-24 15:43:36 +07:00
Vasily Levchenko 00aba8a08d TEST: enable defaults{4,5,6} 2017-01-23 17:40:24 +03:00
ilmat192 ef14464bed Merge pull request #191 from JetBrains/binaryOp-fix 2017-01-23 14:08:12 +03:00
Svyatoslav Scherbina 16ca882298 backend/tests: add cast_null and unchecked_cast3 2017-01-23 17:18:43 +07:00
Svyatoslav Scherbina 97ce2227d5 backend/tests: add boxing{14,15}
the latter is disabled.
2017-01-23 16:56:44 +07:00
Ilya Matveev 7f911b8085 backend/tests: Ignore binaryOp/compareWithBoxed... tests 2017-01-23 10:33:06 +03:00
Svyatoslav Scherbina f36bb78a7f backend/tests: enable fields2 because it was fixed 2017-01-23 14:27:26 +07:00
Svyatoslav Scherbina 1f7738e052 backend: fix minor bug in evaluateWhen
Also add the corresponding test 'when9'.
2017-01-20 20:02:50 +07:00
Svyatoslav Scherbina 0958d32605 backend: improve typealias support:
* handle TypeAliasConstructorDescriptor in codegen
* ignore ignore typealias declaration in codegen

Also add test 'typealias1'.
2017-01-20 20:02:50 +07:00
Svyatoslav Scherbina 65444ec690 backend: improve type operators support:
* add initial support for casts with generics;
* optimize out the casts to subtypes

Also add tests unchecked_cast{1,2}, the latter is disabled.
2017-01-20 20:02:50 +07:00
Ilya Matveev 48122c8a03 backend/tests: Add test result reporting to run_external task.
+ regenerate external tests.
2017-01-20 14:24:35 +03:00
Ilya Matveev d18219c383 backend/tests: Fixes in regenerate_external_tests task 2017-01-20 14:24:35 +03:00
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
Konstantin Anisimov 69661444ce TESTS: new tests added 2017-01-20 15:46:55 +07:00
KonstantinAnisimov 1a83014eba Merge branch 'master' into inline 2017-01-20 10:26:34 +07:00
Konstantin Anisimov 16344218c0 TESTS: new inline tests added 2017-01-19 11:56:52 +07:00
Svyatoslav Scherbina 4667714e16 backend/tests: add objectInitialization1 2017-01-19 11:41:59 +07:00
Nikolay Igotti 56bdfc663a Improve object arrays support. (#182)
Also fix the way how symbol names are being generated. Before arrays2.kt was not linking.
2017-01-19 11:41:59 +07:00
Svyatoslav Scherbina 709113fde7 backend/tests: add defaults{4,5,6} 2017-01-19 11:41:59 +07:00
Vasily Levchenko 6ec207cabc TEST: test for default parameters
(cherry picked from commit 7999d68d812aedd5863f04b7fd2171e284b8f332)
2017-01-19 11:41:59 +07:00
Nikolay Igotti ecf66ab23b Cycle collector. (#175) 2017-01-19 11:41:59 +07:00
Svyatoslav Scherbina 14695bf20e backend: enable some tests 2017-01-19 11:41:12 +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