Rename -jdk compiler option to -jdk-home (jdkHome), add jdk path validation.

This commit is contained in:
Ilya Gorbunov
2016-06-23 16:33:25 +03:00
parent 13016cae93
commit 7c5c4610e8
13 changed files with 64 additions and 34 deletions
@@ -295,6 +295,12 @@ public class CliTestGenerated extends AbstractCliTest {
doJvmTest(fileName);
}
@TestMetadata("wrongJdkPath.args")
public void testWrongJdkPath() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cli/jvm/wrongJdkPath.args");
doJvmTest(fileName);
}
@TestMetadata("wrongJvmTargetVersion.args")
public void testWrongJvmTargetVersion() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cli/jvm/wrongJvmTargetVersion.args");