Ilya Chernikov
dec8eb7899
Revert renaming scripting plugin jar:
...
it conflicts with the compilation on daemon, so transistion should
be planned accordingly, and now it is not a good time for it.
The most important part of the renaming remains intact.
Partially reverts commit "Rename scripting libs and plugin - invert embeddable suffix"
2020-05-27 13:15:50 +02:00
Ilya Chernikov
2509dfb287
Rename scripting libs and plugin - invert embeddable suffix
...
now regular, unshaded libs, are named with suffix `-unshaded`, while
former `-embeddable` ones named without any suffix. This will encoursge
use of the shaded libs by default, avoiding conflicts with 3-party
libs packed into the `kotlin-compiler`.
Note, that only the "frontline" libs are renamed to avoid switching
problems, the ones that not normally used directly are left as is,
including the `kotlin-compiler` itself.
2020-05-26 15:58:25 +02:00
Dmitriy Novozhilov
959ecceaf7
[FIR-PLUGIN] Move fir plugin prototype out from :compiler module
2020-05-08 15:10:02 +03:00
Dmitriy Novozhilov
dd2b7f87f7
[FIR-PLUGIN] Add prototype of allopen plugin for FIR compiler
2020-05-08 15:09:56 +03:00
Ilya Chernikov
ec64869d39
Extract daemon tests to separate module
2020-04-21 16:49:11 +02:00
Dmitriy Novozhilov
6c9dd8bb22
[FIR] Reorganize modules of raw fir builders
2020-03-25 18:07:27 +03:00
Dmitriy Novozhilov
cc07ae96b3
[FIR-TEST] Move analysis tests to separate module
2020-03-19 09:51:01 +03:00
Dmitriy Novozhilov
9eeee6aad7
[FIR-TEST] Move FirBlackBoxCodegenTestGenerated to :fir2ir module
2020-03-03 09:57:45 +03:00
Dmitriy Novozhilov
22a5bc4144
[FIR-TEST] Add build tasks for running all fir tests
...
- `:firCompilerTest` run all compiler fir tests
- `:idea:firTest` run all IDE fir tests
- `:firAllTest` run all fir tests
2020-02-20 16:56:34 +03:00
Nikolay Krasko
162c2f3dc9
201: openapi.jar is removed
2020-02-11 20:27:59 +03:00
Georgy Bronnikov
8f4b4007fe
JVM_IR: Add test for compiling against cross-platform Klib
2020-01-28 12:19:43 +03:00
Dmitriy Novozhilov
841ba6ea11
[FIR] Add generating of rawBuilder tests for light tree
2019-11-25 14:44:45 +03:00
Dmitriy Novozhilov
0c190f6040
Enable -Xuse-mixed-named-arguments feature for compiler project
2019-11-10 11:46:22 +03:00
Dmitriy Novozhilov
e6b005a7dc
Disable -Xuse-mixed-named-arguments feature for compiler project
2019-11-08 15:30:50 +03:00
Dmitriy Novozhilov
3ee013aac6
Change compiler flag for enabling mixed named argumetns in compiler project
...
It's neccessary to avoid useless warnings until build
2019-11-08 12:12:39 +03:00
Dmitriy Novozhilov
27c70eedd9
Enable MixedNamedArgumentsInTheirOwnPosition feature in compiler module
2019-11-01 10:25:37 +03:00
Vyacheslav Gerasimov
c1e1dbd83e
Build: Fix usages of "java.home" for tools.jar dependency
...
#KT-33984
2019-09-25 17:54:18 +03:00
Ivan Cilcic
8047aa22a4
Add test methods and data base on raw fir builder test data
2019-08-30 11:50:31 +03:00
Nikolay Krasko
58f294a757
Fix kotlin compiler tests in 192 (KT-32193)
...
#KT-32193 Fixed
2019-07-26 12:38:40 +03:00
Ilya Chernikov
9c004c3a52
Refactor scripting compiler plugin - move cli dependent parts out of the -impl jar
...
The kotlin-scripting-compiler-impl jar is used in the idea plugin and
therefore should not depend on the cli parts of the compiler to avoid
dependency from the plugin to the kotlin-compiler.jar.
Therefore the cli-dependent parts were moved to the scripting plugin
jar, which is used only in cli compiler based environments.
Also implement required abstractions to allow this movement and
drop some redundant dependencies to the cli parts in other projects.
2019-07-11 15:50:26 +02:00
Vyacheslav Gerasimov
fc68bb46dc
Build: Move compiler.xml extensions to cli-common
2019-06-27 17:56:51 +03:00
Vadim Brilyantov
01a05a5495
Move daemon jar from compiler
2019-05-17 15:51:52 +03:00
Vadim Brilyantov
ced973b707
Introduce new Kotlin Daemon without RMI abstraction
2019-05-17 15:51:51 +03:00
Alexander Udalov
21d0beb94b
Do not render stack traces and bytecode on muted failed tests locally
...
This was already disabled on buildserver with a35f368ce0 , but makes
sense locally too because otherwise IntelliJ renders a lot of output
which takes lots of memory and slows down the test runner
2019-05-16 17:30:21 +02:00
Vyacheslav Gerasimov
5782267d26
Build: Fix import of kotlin-reflect in JPS build
...
#KT-29548 Fixed
2019-05-14 18:07:17 +03:00
Mikhael Bogdanov
dde28ddc52
Parallelize compiler tests
2019-04-18 13:24:58 +02:00
Ilya Chernikov
a65dafc37d
Move scripting support classes to the scripting compiler impl module
2019-04-17 22:03:58 +02:00
Mikhail Glukhikh
881073b1c9
Add basic FIR -> IR converter with a set of text tests
...
Tests duplicate IrTextTestCaseGenerated
#KT-24065 Fixed
2019-04-05 16:18:58 +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
Sergey Rostov
7b89b0abbb
JPS Build: exclude :core:builtins, use prebuilt bootstrap version
2019-03-28 10:06:35 +03:00
Sergey Rostov
fb3f28974e
Build: support local.properties for JPS build. Apply JPS related tweaks only inside IDEA import.
2019-03-28 10:06:16 +03: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
Vyacheslav Gerasimov
3d0cd57e31
Build: Drop testDistProjects, root :dist task was already in list
2019-02-18 20:00:05 +03:00
Mikhael Bogdanov
a122cba862
Switch Kotlin project to jvm-target 1.8
...
#KT-29405
2019-01-31 07:43:05 +01: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
Simon Ogorodnik
cfb446df9e
Move FIR tests to fir modules
2018-12-27 21:32:22 +03:00
Sergey Rostov
423653d225
JPS build: workarounds for idea importing
2018-12-26 09:02:44 +03:00
Georgy Bronnikov
a35f368ce0
Switch off logging for failing IrBlackBox tests
...
Logging of tests that are expected to fail is controlled by
kotlin.suppress.expected.test.failures project property.
2018-12-05 01:48:43 +03:00
Sergey Rostov
74f6c8ac5c
Move resources: remove includes from src to resources, include resource folder in custom build scripts
2018-11-30 15:01:02 +03:00
Georgy Bronnikov
1a529bd601
Revert "Switch off logging for failing IrBlackBox tests"
...
This reverts commit d23964034b .
2018-11-28 00:00:13 +03:00
Georgy Bronnikov
d23964034b
Switch off logging for failing IrBlackBox tests
...
Logging of tests that are expected to fail is controlled by
kotlin.suppress.expected.test.failures project property.
2018-11-27 16:53:34 +03:00
Yan Zhulanow
0ffa901859
Switch plugin and annotation processor loading to the own implementation of ServiceLoader
...
'ServiceLoader' in JDK8 leaks file handles (https://bugs.openjdk.java.net/browse/JDK-8156014 ).
New implementation uses the ZipFile API, it also doesn't operate on the whole classpath which is not often needed.
2018-11-27 22:21:24 +09:00
Mikhael Bogdanov
afc78be58e
Explicitly specify test dist dependencies
2018-10-25 11:55:22 +02:00
Mikhael Bogdanov
35fc629305
Move custom JDK tests into separate module
2018-10-25 09:15:03 +02:00
Mikhael Bogdanov
db25343f90
Run tests on different JDKs via different suites and custom test runner
2018-10-22 16:32:54 +02:00
Nikolay Krasko
17421ed14d
191: asm-all has 7.0-beta version in Intellij 191
...
Pass project to fetch extra parameters for asm-all work
2018-10-19 19:16:21 +03:00
Mikhael Bogdanov
29568d2f48
Add test configuration for JDK_11
2018-09-26 17:05:55 +02: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
e59141e32c
Replace kotlin-stdlib-jreN usages in tests and samples
2018-08-30 14:57:56 +03:00