Disable expect-actual tests for fir
FIR currently does not support MPP, thus IC tests involving expect- actuals, should be disabled.
This commit is contained in:
+1
-6
@@ -64,7 +64,7 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPureKotlin() throws Exception {
|
public void testAllFilesPresentInPureKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("^.*Expect.*"), TargetBackend.JVM_IR, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("annotations")
|
@TestMetadata("annotations")
|
||||||
@@ -622,11 +622,6 @@ public class IncrementalFirICLightTreeJvmCompilerRunnerTestGenerated extends Abs
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/sealedClassesWhenExpression/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/sealedClassesWhenExpression/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("sealedClassesWithExpectActual")
|
|
||||||
public void testSealedClassesWithExpectActual() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/sealedClassesWithExpectActual/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("secondaryConstructorInlined")
|
@TestMetadata("secondaryConstructorInlined")
|
||||||
public void testSecondaryConstructorInlined() throws Exception {
|
public void testSecondaryConstructorInlined() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/secondaryConstructorInlined/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/secondaryConstructorInlined/");
|
||||||
|
|||||||
+1
-6
@@ -64,7 +64,7 @@ public class IncrementalFirJvmCompilerRunnerTestGenerated extends AbstractIncrem
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPureKotlin() throws Exception {
|
public void testAllFilesPresentInPureKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("^.*Expect.*"), TargetBackend.JVM_IR, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("annotations")
|
@TestMetadata("annotations")
|
||||||
@@ -622,11 +622,6 @@ public class IncrementalFirJvmCompilerRunnerTestGenerated extends AbstractIncrem
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/sealedClassesWhenExpression/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/sealedClassesWhenExpression/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("sealedClassesWithExpectActual")
|
|
||||||
public void testSealedClassesWithExpectActual() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/sealedClassesWithExpectActual/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("secondaryConstructorInlined")
|
@TestMetadata("secondaryConstructorInlined")
|
||||||
public void testSecondaryConstructorInlined() throws Exception {
|
public void testSecondaryConstructorInlined() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/secondaryConstructorInlined/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/secondaryConstructorInlined/");
|
||||||
|
|||||||
+1
-6
@@ -64,7 +64,7 @@ public class IncrementalFirLightTreeJvmCompilerRunnerTestGenerated extends Abstr
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInPureKotlin() throws Exception {
|
public void testAllFilesPresentInPureKotlin() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), null, TargetBackend.JVM_IR, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("jps/jps-plugin/testData/incremental/pureKotlin"), Pattern.compile("^([^\\.]+)$"), Pattern.compile("^.*Expect.*"), TargetBackend.JVM_IR, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("annotations")
|
@TestMetadata("annotations")
|
||||||
@@ -622,11 +622,6 @@ public class IncrementalFirLightTreeJvmCompilerRunnerTestGenerated extends Abstr
|
|||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/sealedClassesWhenExpression/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/sealedClassesWhenExpression/");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("sealedClassesWithExpectActual")
|
|
||||||
public void testSealedClassesWithExpectActual() throws Exception {
|
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/sealedClassesWithExpectActual/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("secondaryConstructorInlined")
|
@TestMetadata("secondaryConstructorInlined")
|
||||||
public void testSecondaryConstructorInlined() throws Exception {
|
public void testSecondaryConstructorInlined() throws Exception {
|
||||||
runTest("jps/jps-plugin/testData/incremental/pureKotlin/secondaryConstructorInlined/");
|
runTest("jps/jps-plugin/testData/incremental/pureKotlin/secondaryConstructorInlined/");
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ fun main(args: Array<String>) {
|
|||||||
System.setProperty("java.awt.headless", "true")
|
System.setProperty("java.awt.headless", "true")
|
||||||
generateTestGroupSuite(args) {
|
generateTestGroupSuite(args) {
|
||||||
testGroup("compiler/incremental-compilation-impl/test", "jps/jps-plugin/testData") {
|
testGroup("compiler/incremental-compilation-impl/test", "jps/jps-plugin/testData") {
|
||||||
fun incrementalJvmTestData(targetBackend: TargetBackend): TestGroup.TestClass.() -> Unit = {
|
fun incrementalJvmTestData(targetBackend: TargetBackend, excludePattern: String? = null): TestGroup.TestClass.() -> Unit = {
|
||||||
model("incremental/pureKotlin", extension = null, recursive = false, targetBackend = targetBackend)
|
model("incremental/pureKotlin", extension = null, recursive = false, targetBackend = targetBackend, excludedPattern = excludePattern)
|
||||||
model("incremental/classHierarchyAffected", extension = null, recursive = false, targetBackend = targetBackend)
|
model("incremental/classHierarchyAffected", extension = null, recursive = false, targetBackend = targetBackend)
|
||||||
model("incremental/inlineFunCallSite", extension = null, excludeParentDirs = true, targetBackend = targetBackend)
|
model("incremental/inlineFunCallSite", extension = null, excludeParentDirs = true, targetBackend = targetBackend)
|
||||||
model("incremental/withJava", extension = null, excludeParentDirs = true, targetBackend = targetBackend)
|
model("incremental/withJava", extension = null, excludeParentDirs = true, targetBackend = targetBackend)
|
||||||
@@ -53,9 +53,9 @@ fun main(args: Array<String>) {
|
|||||||
}
|
}
|
||||||
testClass<AbstractIncrementalJvmCompilerRunnerTest>(init = incrementalJvmTestData(TargetBackend.JVM_IR))
|
testClass<AbstractIncrementalJvmCompilerRunnerTest>(init = incrementalJvmTestData(TargetBackend.JVM_IR))
|
||||||
testClass<AbstractIncrementalJvmOldBackendCompilerRunnerTest>(init = incrementalJvmTestData(TargetBackend.JVM))
|
testClass<AbstractIncrementalJvmOldBackendCompilerRunnerTest>(init = incrementalJvmTestData(TargetBackend.JVM))
|
||||||
testClass<AbstractIncrementalFirJvmCompilerRunnerTest>(init = incrementalJvmTestData(TargetBackend.JVM_IR))
|
testClass<AbstractIncrementalFirJvmCompilerRunnerTest>(init = incrementalJvmTestData(TargetBackend.JVM_IR, excludePattern = "^.*Expect.*"))
|
||||||
testClass<AbstractIncrementalFirICLightTreeJvmCompilerRunnerTest>(init = incrementalJvmTestData(TargetBackend.JVM_IR))
|
testClass<AbstractIncrementalFirICLightTreeJvmCompilerRunnerTest>(init = incrementalJvmTestData(TargetBackend.JVM_IR, excludePattern = "^.*Expect.*"))
|
||||||
testClass<AbstractIncrementalFirLightTreeJvmCompilerRunnerTest>(init = incrementalJvmTestData(TargetBackend.JVM_IR))
|
testClass<AbstractIncrementalFirLightTreeJvmCompilerRunnerTest>(init = incrementalJvmTestData(TargetBackend.JVM_IR, excludePattern = "^.*Expect.*"))
|
||||||
|
|
||||||
testClass<AbstractIncrementalJsCompilerRunnerTest> {
|
testClass<AbstractIncrementalJsCompilerRunnerTest> {
|
||||||
model("incremental/pureKotlin", extension = null, recursive = false)
|
model("incremental/pureKotlin", extension = null, recursive = false)
|
||||||
|
|||||||
Reference in New Issue
Block a user