Vyacheslav Gerasimov
596aab1673
Build: Increase max metaspace size for Codegen Tests
...
#KTI-1610
2024-03-04 22:12:24 +00:00
Iaroslav Postovalov
7c4e43938b
[Tests] Add custom JVM target tests for K2
...
^KT-59630 Fixed
2024-02-01 06:25:07 +00:00
Alexander.Likhachev
6eaccc997f
[Build] Fix the typo junit jupyter -> jupiter
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
6f96be0b76
[Build] Get rid of the testApiJUnit5 method
...
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
53fde520d5
[Build] Add jUnit dependencies in testApiJUnit5 to the implementation configuration
...
Adding these dependencies to the `api` configuration pollutes classpath for each dependant modules even if it doesn't need them. Instead, the dependencies should be declared more granularly if they're required
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
0ecbb64c64
[Build] Remove testApiJUnit5 parameters
...
Instead of declaring additional dependencies inside the method, declare them directly
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00
Simon Ogorodnik
ae32eff543
KT-57154: Fix JRT-FS contents served for wrong JDK home on JDK 9+
...
If the compiler runtime JDK is 9+,
it will already contain JrtFileSystemProvider and won't use provided
classloader
In order to fix KT-57154 we need to provide "java.home" argument to
newFileSystem
In order to reduce the severity of the leak in KT-56789 we cache
instances of FileSystem itself forever
Otherwise, each invocation of newFileSystem on JDK 9+ will leak
classloader, which is created deep inside the JDK code
Add unit test for JRT-FS contents served through CoreJrtFs
Add Gradle Integration test to
test if the daemon correctly reads JDK contents from the specified
toolchain and not from its runtime JDK
^KT-57154
Regression test for ^KT-57077
2023-03-28 10:38:46 +00:00
Ivan Kylchik
86b3ec73d1
Add new set of tests to run JVM checks with IR inliner
2023-03-14 20:47:42 +00:00
Nikolay Krasko
1630386712
Move to JDK_X_Y variables
2022-09-21 22:53:19 +00:00
Nikita Bobko
8f79e833a8
Drop all redundant kotlin-reflect, kotlin-reflect-api dependencies
...
Review: https://jetbrains.team/p/kt/reviews/6753
All redundant I managed to find, of course.
Why: I'm going to process all reflect dependencies in the next commits.
Cleanup reflect dependency before processing.
They are redundant because:
1. if `compileOnly` then compilation didn't break after dropping the
dependency
2. if `test*` then tests didn't break after dropping the dependency.
3. `analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts`
`compiler/fir/checkers/checkers-component-generator/build.gradle.kts`
Drop `implementation(project(":kotlin-reflect-api"))` because the
module already depends on
`implementation(project(":kotlin-reflect"))`
4. `compiler/daemon/daemon-client/build.gradle.kts`. Drop `runtimeOnly`
because after dropping `compileOnly` compilation didn't break (so
`runtimeOnly` looks suspicious). Less safe than 1-3
2022-08-22 15:42:57 +02:00
Abduqodiri Qurbonzoda
cf44753aed
Remove :compiler:tests-common-jvm6 project and JvmTarget6OnBaseJvm tests
2022-08-13 01:33:48 +03:00
Abduqodiri Qurbonzoda
34e50649e8
Switch JVM target of the standard libraries to 1.8 #KT-51907
2022-08-13 01:33:45 +03:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Nikolay Krasko
4e806a6322
Bump junit-bom in our project 5.7.0 -> 5.8.1 and clean up old versions
2021-11-24 19:35:35 +03:00
Ivan Kylchik
225b064470
Implement new 'mix' test mode
...
This mode must be used when one configuration will run several tests
for different JUnit versions.
2021-10-25 00:14:20 +03:00
Dmitriy Novozhilov
ce3562f0e8
Migrate all JDK 15 related tests to JDK 17
2021-09-28 13:01:45 +03:00
Vyacheslav Gerasimov
ab146bd6d4
Build: Fix deprecated Gradle configurations usages
...
for migration to Gradle 7+ #KTI-559
2021-09-26 18:28:44 +03:00
Mikhael Bogdanov
92e94a4068
Add JDK 17 test configuration
2021-08-23 13:48:35 +02:00
Dmitriy Novozhilov
de73622af9
[Test] Mark BB tests on modern jdks with tag and ignore them in different-jdk tests
2021-08-01 22:23:42 +03:00
Yahor Berdnikau
7789054547
Migrate repo to use JVM toolchains Gradle feature.
...
^KT-46972 Fixed
2021-07-05 14:11:12 +00:00
Ivan Kylchik
6f639a39a7
Remove unnecessary dependencies on visualizer module
2021-03-19 18:30:28 +03:00
Mikhael Bogdanov
82f1b8159c
Remove deprecated "-XX:-FailOverToOldVerifier" as it breaks JDK on TC
2021-02-26 07:48:20 +01:00
Mikhael Bogdanov
2673261b10
Use proper jvmArgs syntax, remove -FailOverToOldVerifier from last configurations
...
`FailOverToOldVerifier` support is removed from JDK 16
2021-02-09 18:51:26 +01:00
Mikhael Bogdanov
30b5bfe767
Disable D8 checks for -jvm-target 15 tests
2021-02-09 12:34:56 +01:00
Mikhael Bogdanov
21e9f67322
Add JvmTargetXOnJvm15 test suites
2021-02-09 12:34:55 +01:00
Mikhael Bogdanov
5c5fb0ae39
Add JvmTarget6OnJvm8 test suite
2021-02-09 12:34:55 +01:00
Mikhael Bogdanov
35ec6b4f5c
Run IR test on Test Codegen on different platforms
2021-02-04 18:53:06 +01:00
Dmitriy Novozhilov
c432efc364
[Build] Extract configuration of JUnit5 dependencies to common helper in buildSrc
2021-02-02 17:54:59 +03:00
Dmitriy Novozhilov
2ae35b0b08
[Test] Move fir backend tests back to :compiler:fir2ir module
2021-02-02 17:54:58 +03:00
Dmitriy Novozhilov
a4e9ab90a0
[Test] Migrate :tests-different-jdk on runners which are using JUnit5
2021-02-02 17:54:51 +03:00
Dmitriy Novozhilov
93ce37319a
[Test] Drop BlackBoxCodegenTestGenerated from :compiler:tests-different:jdk
2021-01-12 18:35:32 +03:00
Mikhail Bogdanov
f966ce2431
Minor. Updated used JDKs in test for different JDKs
2020-04-07 09:43:46 +02:00
Ilya Chernikov
0f41dc814f
Switch many common tasks defined in buildSrc to lazy creation
...
also refactor some locally defined tasks to the creation avoidance API
2019-08-21 20:20:08 +02:00
Mikhael Bogdanov
8ff081a596
Don't trigger 'testJvm6ServerRuntime' initialization during configuration phase
2019-08-13 16:35:58 +02:00
Mikhael Bogdanov
812b766894
Remove hack with targets. Add target for most recent jdk
2019-05-15 14:21:11 +02:00
Alexander Udalov
e191eef10a
Minor, refactor system properties in CodegenTestCase
2019-05-15 13:25:47 +02:00
Mikhael Bogdanov
c448def95f
Add custom JDK tests on recent JDK avaliable in project
2019-05-15 12:55:14 +02:00
Mikhael Bogdanov
6dbbf0bb72
Move server process creation to JDK 6 suite
...
It's allow to avoid problem with wrong inherited output
(gradle instead of test process)
2019-05-02 13:46:27 +02:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Vyacheslav Gerasimov
3d0cd57e31
Build: Drop testDistProjects, root :dist task was already in list
2019-02-18 20:00:05 +03:00
Sergey Rostov
f35185b261
Build: remove explicit dependencies to org.jetbrains.annotations
2019-01-28 13:43:08 +03:00
Sergey Rostov
883970fadb
Add explicit dependencies to nullable annotations
2018-12-26 09:07:06 +03: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