[Test] Don't generate JVM BB tests for expect-actual linker
This feature is supported only on JS backend so those tests on JVM are meaningless. Also those tests had passed on jvm because of old codegen tests didn't use `MODULE` directive and analyze all files in tests in single module
This commit is contained in:
committed by
TeamCityServer
parent
3a41f1e435
commit
285ccf7583
Generated
-15
@@ -19477,21 +19477,6 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
public void testAllFilesPresentInMultiModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualLink.kt")
|
||||
public void testExpectActualLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualMemberLink.kt")
|
||||
public void testExpectActualMemberLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualTypealiasLink.kt")
|
||||
public void testExpectActualTypealiasLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealiasLink.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// EXPECT_ACTUAL_LINKER
|
||||
// IGNORE_BACKEND: JS
|
||||
// DONT_TARGET_EXACT_BACKEND: JVM
|
||||
// DONT_TARGET_EXACT_BACKEND: JVM_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: ANDROID
|
||||
|
||||
// MODULE: A
|
||||
// FILE: a.kt
|
||||
|
||||
+3
@@ -2,6 +2,9 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// EXPECT_ACTUAL_LINKER
|
||||
// IGNORE_BACKEND: JS
|
||||
// DONT_TARGET_EXACT_BACKEND: JVM
|
||||
// DONT_TARGET_EXACT_BACKEND: JVM_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: ANDROID
|
||||
|
||||
// MODULE: A
|
||||
// FILE: a.kt
|
||||
|
||||
+3
@@ -4,6 +4,9 @@
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// DONT_TARGET_EXACT_BACKEND: JVM
|
||||
// DONT_TARGET_EXACT_BACKEND: JVM_IR
|
||||
// DONT_TARGET_EXACT_BACKEND: ANDROID
|
||||
|
||||
// MODULE: A
|
||||
// FILE: a.kt
|
||||
|
||||
-15
@@ -19477,21 +19477,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
public void testAllFilesPresentInMultiModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualLink.kt")
|
||||
public void testExpectActualLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualMemberLink.kt")
|
||||
public void testExpectActualMemberLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualTypealiasLink.kt")
|
||||
public void testExpectActualTypealiasLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealiasLink.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-15
@@ -19477,21 +19477,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
public void testAllFilesPresentInMultiModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualLink.kt")
|
||||
public void testExpectActualLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualMemberLink.kt")
|
||||
public void testExpectActualMemberLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualTypealiasLink.kt")
|
||||
public void testExpectActualTypealiasLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealiasLink.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-15
@@ -19477,21 +19477,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
public void testAllFilesPresentInMultiModule() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/multiplatform/multiModule"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualLink.kt")
|
||||
public void testExpectActualLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualMemberLink.kt")
|
||||
public void testExpectActualMemberLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("expectActualTypealiasLink.kt")
|
||||
public void testExpectActualTypealiasLink() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/multiModule/expectActualTypealiasLink.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user