[Test] Exclude K2 MPP codegen box tests from K1 generated suites
Those tests always were muted for K1 because of incompatible module structure in testdata, so there is no actual sense to even generate them for K1
This commit is contained in:
committed by
Space Team
parent
b7bdbd270f
commit
b4947e6cfe
+2
-1
@@ -85,7 +85,8 @@ fun generateJUnit3CompilerTests(args: Array<String>, mainClassName: String?) {
|
||||
"compileKotlinAgainstKotlin",
|
||||
"testsWithJava9",
|
||||
"testsWithJava15",
|
||||
"testsWithJava17"
|
||||
"testsWithJava17",
|
||||
"multiplatform/k2",
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
+4
-3
@@ -17,6 +17,7 @@ import org.jetbrains.kotlin.test.utils.CUSTOM_TEST_DATA_EXTENSION_PATTERN
|
||||
|
||||
fun generateJUnit5CompilerTests(args: Array<String>, mainClassName: String?) {
|
||||
val excludedCustomTestdataPattern = CUSTOM_TEST_DATA_EXTENSION_PATTERN
|
||||
val k2BoxTestDir = listOf("multiplatform/k2")
|
||||
|
||||
generateTestGroupSuiteWithJUnit5(args, mainClassName) {
|
||||
testGroup(testsRoot = "compiler/tests-common-new/tests-gen", testDataRoot = "compiler/testData") {
|
||||
@@ -72,15 +73,15 @@ fun generateJUnit5CompilerTests(args: Array<String>, mainClassName: String?) {
|
||||
}
|
||||
|
||||
testClass<AbstractBlackBoxCodegenTest> {
|
||||
model("codegen/box")
|
||||
model("codegen/box", excludeDirs = k2BoxTestDir)
|
||||
}
|
||||
|
||||
testClass<AbstractIrBlackBoxCodegenTest> {
|
||||
model("codegen/box")
|
||||
model("codegen/box", excludeDirs = k2BoxTestDir)
|
||||
}
|
||||
|
||||
testClass<AbstractIrBlackBoxCodegenWithIrInlinerTest> {
|
||||
model("codegen/box")
|
||||
model("codegen/box", excludeDirs = k2BoxTestDir)
|
||||
}
|
||||
|
||||
testClass<AbstractSteppingTest> {
|
||||
|
||||
Reference in New Issue
Block a user