Report error on -Xuse-old-backend, remove Gradle option useOldBackend
Allow using old JVM backend only to compile kts. #KT-48532 Fixed
This commit is contained in:
@@ -138,11 +138,6 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
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 {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/cli/jvm"), Pattern.compile("^(.+)\\.args$"), null, false);
|
||||
}
|
||||
@@ -207,11 +202,6 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/argumentPassedMultipleTimes.args");
|
||||
}
|
||||
|
||||
@TestMetadata("bothJvmIrAndOldBackend.args")
|
||||
public void testBothJvmIrAndOldBackend() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/bothJvmIrAndOldBackend.args");
|
||||
}
|
||||
|
||||
@TestMetadata("builderInferenceByDefault.args")
|
||||
public void testBuilderInferenceByDefault() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/builderInferenceByDefault.args");
|
||||
@@ -927,9 +917,14 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/nullabilityAnnotations.args");
|
||||
}
|
||||
|
||||
@TestMetadata("oldBackendLv16.args")
|
||||
public void testOldBackendLv16() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/oldBackendLv16.args");
|
||||
@TestMetadata("oldBackend.args")
|
||||
public void testOldBackend() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/oldBackend.args");
|
||||
}
|
||||
|
||||
@TestMetadata("oldBackendWithScript.args")
|
||||
public void testOldBackendWithScript() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/oldBackendWithScript.args");
|
||||
}
|
||||
|
||||
@TestMetadata("optInEmptyMessage.args")
|
||||
@@ -1042,21 +1037,6 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/suppressAllWarningsJvm.args");
|
||||
}
|
||||
|
||||
@TestMetadata("suspendInFunInterfaceDefault.args")
|
||||
public void testSuspendInFunInterfaceDefault() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/suspendInFunInterfaceDefault.args");
|
||||
}
|
||||
|
||||
@TestMetadata("suspendInFunInterfaceIrDisabled.args")
|
||||
public void testSuspendInFunInterfaceIrDisabled() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/suspendInFunInterfaceIrDisabled.args");
|
||||
}
|
||||
|
||||
@TestMetadata("suspendInFunInterfaceIrEnabled.args")
|
||||
public void testSuspendInFunInterfaceIrEnabled() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/suspendInFunInterfaceIrEnabled.args");
|
||||
}
|
||||
|
||||
@TestMetadata("suspensionPointInMonitor.args")
|
||||
public void testSuspensionPointInMonitor() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/suspensionPointInMonitor.args");
|
||||
|
||||
Reference in New Issue
Block a user