Minor, restore abiStabilityUnstableWithOldBackend CLI test
Add -Xuse-old-backend to make it pass with LV=1.5 where JVM IR is enabled by default.
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
d87d0cceae
commit
4dff7e648f
@@ -0,0 +1,5 @@
|
|||||||
|
$TESTDATA_DIR$/simple.kt
|
||||||
|
-d
|
||||||
|
$TEMP_DIR$
|
||||||
|
-Xabi-stability=unstable
|
||||||
|
-Xuse-old-backend
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
error: -Xabi-stability=unstable is not supported in the old JVM backend
|
||||||
|
COMPILATION_ERROR
|
||||||
@@ -32,6 +32,11 @@ public class CliTestGenerated extends AbstractCliTest {
|
|||||||
runTest("compiler/testData/cli/jvm/abiStabilityIncorrectValue.args");
|
runTest("compiler/testData/cli/jvm/abiStabilityIncorrectValue.args");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("abiStabilityUnstableWithOldBackend.args")
|
||||||
|
public void testAbiStabilityUnstableWithOldBackend() throws Exception {
|
||||||
|
runTest("compiler/testData/cli/jvm/abiStabilityUnstableWithOldBackend.args");
|
||||||
|
}
|
||||||
|
|
||||||
public void testAllFilesPresentInJvm() throws Exception {
|
public void testAllFilesPresentInJvm() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm"), Pattern.compile("^(.+)\\.args$"), null, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm"), Pattern.compile("^(.+)\\.args$"), null, false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user