[test] Remove TARGET_BACKEND: JVM_IR for non JVM-specific irText tests
If they fail on other backends, use the IGNORE_BACKEND directive instead
This commit is contained in:
committed by
Space Team
parent
a224feefd2
commit
973adb6a38
+75
@@ -623,21 +623,51 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/contextReceivers"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("arrayAccessCompositeOperators.kt")
|
||||
public void testArrayAccessCompositeOperators() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/arrayAccessCompositeOperators.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("arrayAccessOperators.kt")
|
||||
public void testArrayAccessOperators() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/arrayAccessOperators.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("class.kt")
|
||||
public void testClass() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/class.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compoundAssignmentOperators.kt")
|
||||
public void testCompoundAssignmentOperators() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/compoundAssignmentOperators.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contextReceiverMethod.kt")
|
||||
public void testContextReceiverMethod() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/contextReceiverMethod.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contextualFunctionConversion.kt")
|
||||
public void testContextualFunctionConversion() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/contextualFunctionConversion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contextualInlineCall.kt")
|
||||
public void testContextualInlineCall() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/contextualInlineCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("contextualPrimaryConstructorWithParams.kt")
|
||||
public void testContextualPrimaryConstructorWithParams() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/contextualPrimaryConstructorWithParams.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("delegatedPropertiesOperators.kt")
|
||||
public void testDelegatedPropertiesOperators() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/delegatedPropertiesOperators.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("function.kt")
|
||||
public void testFunction() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/function.kt");
|
||||
@@ -653,6 +683,16 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/genericOuterClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("iteratorOperator.kt")
|
||||
public void testIteratorOperator() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/iteratorOperator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt52791.kt")
|
||||
public void testKt52791() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/kt52791.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lazy.kt")
|
||||
public void testLazy() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/lazy.kt");
|
||||
@@ -668,6 +708,11 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/overloading.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("passingLambdaToContextualParam.kt")
|
||||
public void testPassingLambdaToContextualParam() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/passingLambdaToContextualParam.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("plusMatrix.kt")
|
||||
public void testPlusMatrix() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/plusMatrix.kt");
|
||||
@@ -688,6 +733,11 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/typeParameterAsContextReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unaryOperators.kt")
|
||||
public void testUnaryOperators() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/unaryOperators.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/ir/irText/declarations/contextReceivers/fromKEEP")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@@ -699,6 +749,31 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
||||
public void testAllFilesPresentInFromKEEP() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/declarations/contextReceivers/fromKEEP"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("canvas.kt")
|
||||
public void testCanvas() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/fromKEEP/canvas.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compareTo.kt")
|
||||
public void testCompareTo() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/fromKEEP/compareTo.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("dp.kt")
|
||||
public void testDp() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/fromKEEP/dp.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionalType.kt")
|
||||
public void testFunctionalType() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/fromKEEP/functionalType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("monoidSum.kt")
|
||||
public void testMonoidSum() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/contextReceivers/fromKEEP/monoidSum.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user