Report error if IR is enabled with incorrect language version
^KT-36338 Fixed
This commit is contained in:
@@ -365,6 +365,21 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/jvm/invalidMetadataVersion.args");
|
||||
}
|
||||
|
||||
@TestMetadata("irApiVersionUnsupported.args")
|
||||
public void testIrApiVersionUnsupported() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/irApiVersionUnsupported.args");
|
||||
}
|
||||
|
||||
@TestMetadata("irLanguageVersionUnsupported.args")
|
||||
public void testIrLanguageVersionUnsupported() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/irLanguageVersionUnsupported.args");
|
||||
}
|
||||
|
||||
@TestMetadata("irSupported.args")
|
||||
public void testIrSupported() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/irSupported.args");
|
||||
}
|
||||
|
||||
@TestMetadata("javaSrcWrongPackage.args")
|
||||
public void testJavaSrcWrongPackage() throws Exception {
|
||||
runTest("compiler/testData/cli/jvm/javaSrcWrongPackage.args");
|
||||
@@ -783,6 +798,16 @@ public class CliTestGenerated extends AbstractCliTest {
|
||||
runTest("compiler/testData/cli/js/inlineCycle.args");
|
||||
}
|
||||
|
||||
@TestMetadata("irApiVersionUnsupported.args")
|
||||
public void testIrApiVersionUnsupported() throws Exception {
|
||||
runTest("compiler/testData/cli/js/irApiVersionUnsupported.args");
|
||||
}
|
||||
|
||||
@TestMetadata("irLanguageVersionUnsupported.args")
|
||||
public void testIrLanguageVersionUnsupported() throws Exception {
|
||||
runTest("compiler/testData/cli/js/irLanguageVersionUnsupported.args");
|
||||
}
|
||||
|
||||
@TestMetadata("jsExtraHelp.args")
|
||||
public void testJsExtraHelp() throws Exception {
|
||||
runTest("compiler/testData/cli/js/jsExtraHelp.args");
|
||||
|
||||
Reference in New Issue
Block a user