[Test] Add ability to run box test in separate jvm for common codegen tests

This commit is contained in:
Dmitriy Novozhilov
2021-07-14 12:57:07 +03:00
committed by teamcityserver
parent 04d9d243de
commit ca214bef30
5 changed files with 217 additions and 50 deletions
@@ -15,7 +15,7 @@
*/
package org.jetbrains.kotlin.test
enum class TestJdkKind {
enum class TestJdkKind(val requiresSeparateProcess: Boolean = false) {
MOCK_JDK,
// Differs from common mock JDK only by one additional 'nonExistingMethod' in Collection and constructor from Double in Throwable
@@ -24,16 +24,16 @@ enum class TestJdkKind {
MODIFIED_MOCK_JDK,
// JDK found at $JDK_16
FULL_JDK_6,
FULL_JDK_6(requiresSeparateProcess = true),
// JDK found at $JDK_9
FULL_JDK_9,
FULL_JDK_9(requiresSeparateProcess = true),
// JDK found at $JDK_15
FULL_JDK_15,
FULL_JDK_15(requiresSeparateProcess = true),
// JDK found at $JDK_15
FULL_JDK_17,
FULL_JDK_17(requiresSeparateProcess = true),
// JDK found at java.home
FULL_JDK,