Vyacheslav Gerasimov
c1e1dbd83e
Build: Fix usages of "java.home" for tools.jar dependency
...
#KT-33984
2019-09-25 17:54:18 +03:00
Svyatoslav Kuzmich
6e6ffa12a6
[WASM] Initial infrastructure
...
- New module ":compiler:backend.wasm"
- Initial compiler infra (driver, phaser, context)
- Subset of Wasm AST
- Skeleton of IR -> Wasm AST
- Wasm AST -> WAT transformer
- Testing infra
- SpiderMonkey jsshell tool
2019-08-22 15:59:54 +03:00
Svyatoslav Kuzmich
91d16ee947
[CLI] Extract :compiler:cli-js from :compiler:cli
2019-05-14 15:49:50 +03:00
Mikhael Bogdanov
1bc03e705a
Minor. Remove old parallelize approach
2019-04-26 11:29:41 +02:00
Mikhael Bogdanov
dde28ddc52
Parallelize compiler tests
2019-04-18 13:24:58 +02:00
Anton Bannykh
b7ffdb9fde
JS IR: support kotlin.test
2019-04-05 12:30:21 +03:00
Anton Bannykh
8174d6c035
JS IR: eliminate quickIrTest
2019-04-05 12:30:21 +03:00
Anton Bannykh
ad4c2144a7
JS IR: moved klib creation to the serialization_test module
2019-04-05 12:30:20 +03:00
Mikhael Bogdanov
0c60ff0e80
Revert "Revert "Allow tests to be run in parallel.""
...
This reverts commit bdad3cac
2019-03-28 13:17:37 +01:00
Zalim Bashorov
bdad3cace9
Revert "Allow tests to be run in parallel."
...
This reverts commit 21d81f35
2019-03-26 15:22:40 +03:00
Steven Schäfer
21d81f353c
Allow tests to be run in parallel.
2019-03-25 19:50:37 +01:00
Anton Bannykh
826b9d935d
JS/JS IR: split testing tasks for the two backends
...
Run jsTest for current backend, and jsIrTest for the JS-IR backend tests
2019-03-15 12:19:33 +03:00
Roman Artemev
e3e3fcded1
Fix windows j2v8 artifact
2019-03-05 22:56:48 +03:00
Roman Artemev
88d365328a
[JS IR BE] Run JS IR tests in V8 engine
2019-03-04 23:24:18 +03:00
Roman Artemev
3718edb6bc
[JS IR BE] Some preparation for IrSerialization
2019-03-04 23:24:09 +03:00
Shagen Ogandzhanian
7162dd9807
Prepare JsTestChecker (but not introduce so far) for J2V8 adoption
2019-03-01 15:29:35 +01:00
Vyacheslav Gerasimov
2bec617446
Build: Fix npmInstall task inputs validation problem
...
NpmInstall task adds $nodeModulesDir/package.json to input and fails validation with:
"File '.../package.json' specified for property '$1' does not exist."
2019-02-18 20:00:05 +03:00
Sergey Rostov
0f2fb4ff82
Build: remove intellijCore/annotations.jar usages
2019-01-28 13:43:08 +03:00
Vyacheslav Gerasimov
f58acbeef5
Build: implement useBootstrapStdlib flag
...
Excludes stdlib projects from build and uses bootstrap stdlib artifacts
#KT-29205
2019-01-21 21:09:40 +03:00
Sergey Rostov
883970fadb
Add explicit dependencies to nullable annotations
2018-12-26 09:07:06 +03:00
Zalim Bashorov
8ac2582e24
Forward gradle properties with prefix "fd." to test runner as system property("-D") w/o this prefix
2018-10-17 18:29:41 +03:00
Yan Zhulanow
b38e9b6b05
Make all intellij-core dependencies non-transitive
2018-09-17 20:08:27 +03:00
Ilya Gorbunov
a18770fbbb
Remove projectDist dependency helper usages
...
Use default configuration dependencies instead of projectDist ones.
2018-09-12 06:05:05 +03:00
Ilya Gorbunov
99de68507d
Workaround for new MPP dependency configuration limitations
2018-08-30 14:56:46 +03:00
Anton Bannykh
2c4e21ca36
JS box tests via Mocha: respect the ignoreTestFailures flag
2018-08-09 15:00:54 +03:00
Ilya Gorbunov
293e5794f0
Allow to skip JS IR tests with gradle property kotlin.compiler.js.ir.tests.skip
2018-07-25 20:25:15 +03:00
Anton Bannykh
14dfb6bd99
JS: install -> npmInstall (collides with maven tasks)
2018-06-18 13:32:59 +03:00
Vyacheslav Gerasimov
0c6fb77637
Build: Set dependency on :dist for js.tests project test tasks
2018-04-20 11:35:55 +03:00
Vyacheslav Gerasimov
09a347b2d4
Disable assertion in RecompilableScriptFunctionData for js tests
...
which fails due to a bug in nashorn
#KT-23637 Fixed
2018-04-20 11:35:42 +03:00
Nikolay Krasko
70d236cb8d
Always configure "idea.home.path" system variable
...
When TestLoggerFactory is initialized in tests it checks that variable
and it it's not present uses classpath to search for logger configuration.
If this search is unsuccessful a lot of exceptions are written to log:
java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:96)
at com.intellij.testFramework.TestLoggerFactory.reconfigure(TestLoggerFactory.java:67)
2018-03-29 19:49:00 +03:00
Alexey Tsvetkov
8a82c1618c
Use Plugins DSL in Kotlin Gradle scripts
...
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00
Zalim Bashorov
bef7b5389b
Create ir/backend.js module with dummy compiler
2018-03-20 22:44:26 +03:00
Zalim Bashorov
f820b3eadd
Fix exception from PathManager.getHomePath with message "Could not find installation home path"
2018-03-20 22:44:25 +03:00
Yan Zhulanow
34d1611ed4
Add Pill support to compiler and IDE modules
2018-03-02 03:15:17 +03:00
Ilya Gorbunov
5c0cc5f799
Move deprecated kotlin-runtime and reduced runtime for tests into stdlib
...
Rename mock-runtime-for-test project to kotlin-stdlib:jvm-minimal-for-test
2018-02-26 17:11:11 +03:00
Vyacheslav Gerasimov
68b5dc756c
Remove intellij-core from testRuntime if full idea is already there
...
Looks like it makes tests flacky
2018-01-30 17:06:18 +03:00
Ilya Chernikov
058ef31d7a
Fixes after review
2018-01-30 17:06:16 +03:00
Ilya Chernikov
5dc094d290
Implement correct and fast ultimate/community sdks handling
2018-01-30 17:06:15 +03:00
Ilya Chernikov
6f1e6f1f1b
Fix tests after rebasing and messing with the dependencies
2018-01-30 17:06:15 +03:00
Ilya Chernikov
2dc4769c0a
Fixes after rebase
2018-01-30 17:06:15 +03:00
Ilya Chernikov
7e21573cf4
Convert the rest of the project to intellij repo prepared in buildSrc
2018-01-30 17:06:13 +03:00
Ilya Chernikov
a4f28cd94f
Make all dependencies to idea sdk intransitive
2018-01-30 17:06:11 +03:00
Ilya Chernikov
90e5558704
Re-add node.js tests, switch to direct usage of node_utils.xml, remove node parts from update_dependencies.xml
2018-01-30 17:06:10 +03:00
Ilya Chernikov
361d8536ac
Switch ant usages to regular dependency
2018-01-30 17:06:10 +03:00
Ilya Chernikov
8266777bd5
Convert js modules to intellij plugin
2018-01-30 17:06:07 +03:00
Alexander Udalov
245d1de2a2
Remove runtime dependency on projectDist(":kotlin-compiler")
...
This dependency makes IDEA reindex kotlin-compiler.jar after every
Gradle build, which takes time and breaks some key IDE features
2018-01-28 10:14:24 +01:00
Anton Bannykh
6bee5699a0
Migrate node_utils.xml to Gradle
2017-12-14 17:41:20 +03:00
Alexander Udalov
f52ba44e90
Move JS tests generator to :js:js.tests, run it in "Generate Compiler Tests"
...
Also cleanup generateTestDataForReservedWords and make everything there
private
2017-11-02 17:12:46 +01:00
Alexander Udalov
33549362cb
Move compiler/tests-common/{src -> tests}, adjust dependencies
2017-10-31 07:36:45 +01:00
Alexander Udalov
c2276e2ccb
Rename module ':compiler.tests-common' -> ':compiler:tests-common'
2017-10-31 07:36:45 +01:00