2983 Commits

Author SHA1 Message Date
Roman Artemev 4ef316a590 [TEST] Move info file names into common place 2021-12-08 20:18:13 +03:00
Roman Artemev 327b529e08 [TEST] Move TestModel parser into common test part
- fix dependent invalidation test runner
2021-12-08 20:18:10 +03:00
mvicsokolova 93561a1a55 kotlinx.atomicfu compiler plugin for JS_IR backend (#4581)
* kotlinx.atomicfu compiler plugin for JS_IR

Support transformations of atomic operations introduced by the kotlinx.atomicfu library for the JS_IR backend. Compiler plugin is applied externally by the kotlinx.atomicfu gradle plugin.

* Apply compiler plugin for JS platform only

* New plugin test structure

* testGroupOutputDirPrefix changed
2021-12-01 22:33:13 +03:00
Anton Bannykh dbbc30a6a2 [JS IR] enable per-module by default 2021-12-01 16:50:22 +03:00
Anton Bannykh 2259c6f75d [JS IR IC] assert cross-file tag are not null and fix tests 2021-11-29 21:09:35 +03:00
Anton Bannykh d74ab1538b [JS IR] fix IC pipeline and unmute tests 2021-11-29 21:09:33 +03:00
Anton Bannykh ef4ef8c930 [JS IR] switch to the IC Ir2Js and fix tests 2021-11-29 21:09:31 +03:00
Roman Artemev 979ddacd8c [JS IR] Add and generate IC invalidation tests 2021-11-25 11:22:52 +03:00
Roman Artemev 85025b85b8 [JS IR] Implement runner to test IC invalidation
- add corresponding gradle task
2021-11-25 11:22:51 +03:00
Roman Artemev 5b1ec561a9 [JS IR TESTS] Add ProjectModel parser to tests 2021-11-25 11:22:39 +03:00
Ivan Kylchik 83d2d2cfcf [JS TESTS] Disable node js runner for IR 2021-11-22 21:06:42 +03:00
Ivan Kylchik 3aa88a6ebe [JS TESTS] Allow saving artifacts into build directory on teamcity
This is required to properly run node js tests.
2021-11-22 21:06:40 +03:00
Sergej Jaskiewicz 060074a9d6 [JS IR] Don't concatenate string template segments with '' when possible
If concatenating with an empty string is a sure no-op, just don't do it.
2021-11-19 11:16:33 +00:00
Anton Bannykh 75368a2c06 [JS IR] tie together IC code in tests and K2JsIrCompiler 2021-11-19 00:39:37 +03:00
Anton Bannykh 1ae042edc3 [JS IR] make old Ir2Js pass all tests 2021-11-19 00:38:46 +03:00
Anton Bannykh d565cc4262 [JS IR] support new Ir2Js in tests and in K2JsTranslator 2021-11-19 00:38:42 +03:00
Anton Bannykh 0506d422a3 [JS IR] support per-module in the new Ir2JS 2021-11-19 00:38:27 +03:00
Igor Yakovlev a7f0f62f69 [WASM] Generate missing WASM tests and mute failing ones 2021-11-15 19:53:49 +03:00
Ivan Kylchik 41547174a7 [JS TESTS] Enable directive processing for js ir 2021-11-12 21:24:32 +03:00
Ivan Kylchik 8d1459d8c2 [JS TESTS] Move js ir tests to separate folder to fix jsIrTest task 2021-11-12 21:24:32 +03:00
Ivan Kylchik 103d948dc8 [JS TESTS] Remove common handlers from abstract test classes 2021-11-12 21:24:31 +03:00
Ivan Kylchik a3239288a7 [JS TESTS] Rename testNew to test 2021-11-12 21:24:31 +03:00
Ivan Kylchik ab1d0d0b74 [JS TESTS] Rename test to testOld 2021-11-12 21:24:31 +03:00
Ivan Kylchik 8c2e9fdc89 [JS TESTS] Drop old basic tests 2021-11-12 21:24:30 +03:00
Ivan Kylchik 33c799b6d9 [JS TESTS] Drop pir tests 2021-11-12 21:24:30 +03:00
Ivan Kylchik 4d5ba7e956 [JS TESTS] Drop ES6 tests 2021-11-12 21:24:29 +03:00
Svyatoslav Kuzmich 49d63abc88 [Wasm] Add JS box/native tests 2021-11-12 18:44:47 +03:00
Svyatoslav Kuzmich a5aee29baa [Wasm] Fix createDirectoryToRunInBrowser
Helper function to import stringFromWasm no longer needed.
2021-11-09 19:54:26 +00:00
Ivan Kylchik 3adf80ed37 [TESTS] Replace IrBackendInput if check with require 2021-11-08 23:50:36 +03:00
Ivan Kylchik 81211acbc0 [JS TESTS] Extract common code responsible for getting dependencies 2021-11-08 23:50:35 +03:00
Ivan Kylchik fdf3288e3d [JS TESTS] Move dump of artifacts into js ir backend facade 2021-11-08 23:50:35 +03:00
Ivan Kylchik 7d00dd98d5 [JS TESTS] Suppress unused parameter in incremental handler 2021-11-08 23:50:35 +03:00
Ivan Kylchik db6c357e8e [JS TESTS] Enable diagnostic report for tailRecursion 2021-11-08 23:50:35 +03:00
Ivan Kylchik 54804417dd [JS TESTS] Rewrite js ir ic tests using new test infrastructure 2021-11-08 23:50:35 +03:00
Ivan Kylchik c59098df2f [JS TESTS] Rewrite js ir tests using new test infrastructure 2021-11-08 23:50:34 +03:00
Ivan Kylchik 1a52512578 [JS TESTS] Restore AbstractIrCodegenWasmJsInteropJsTest in generator 2021-10-28 15:18:30 +03:00
Ivan Kylchik 8a1362de03 [JS TESTS] Rewrite web demo tests using new test infrastructure 2021-10-25 00:14:21 +03:00
Dmitriy Novozhilov af0e40a0d2 [JS Test] Support RECOMPILE directive in js box tests in new infrastructure 2021-10-25 00:14:21 +03:00
Ivan Kylchik 13d3b7c0b8 [JS TESTS] Move generation of js tests to GenerateJsTests 2021-10-25 00:14:20 +03:00
Ivan Kylchik a2d2ace71a [JS TESTS] Rewrite js tests using new test infrastructure 2021-10-25 00:14:20 +03:00
Ivan Kylchik 2bea77d4e2 [JS TESTS] Replace - symbol in module name with _ 2021-10-25 00:14:19 +03:00
Ivan Kylchik 3cbeb08f79 [JS TESTS] Drop unused additionalCommonFileDirectories property 2021-10-25 00:14:19 +03:00
Svyatoslav Kuzmich 4fc461a2ff [Wasm] Imporove external interface support
* Support boxing/unboxing when casting to Any
* Support ===, equals, hashCode, toString

* Support adapting String in interop boundary
2021-10-23 01:26:12 +03:00
Anton Bannykh 283e37c741 [JS IR] fix warnings 2021-10-15 20:14:54 +03:00
Anton Bannykh c2f7ed2fff [JS IR] added a directive to skip IC checks in IR 2021-10-15 20:14:53 +03:00
Anton Bannykh 546ce501cb [JS IR] run IC box tests 2021-10-15 20:14:51 +03:00
Anton Bannykh 936383254a [JS IR] explicitly mark JsName's temporary or not 2021-10-15 20:14:49 +03:00
Svyatoslav Kuzmich 0f66f85cf9 [Wasm] Support main function 2021-10-15 13:58:55 +03:00
Igor Laevsky bede039c08 [Wasm] Add compiler support for the kotlin.test library 2021-10-14 17:24:05 +03:00
Igor Laevsky dcdc7e4633 [Wasm] Add box tests for kotlin.test 2021-10-14 17:24:03 +03:00