diff --git a/compiler/testData/cli/jvm/nonExistingSourcePathK2.args b/compiler/testData/cli/jvm/nonExistingSourcePathK2.args new file mode 100644 index 00000000000..f9b9bf8c313 --- /dev/null +++ b/compiler/testData/cli/jvm/nonExistingSourcePathK2.args @@ -0,0 +1,4 @@ +not/existing/path +-d +$TEMP_DIR$ + diff --git a/compiler/testData/cli/jvm/nonExistingSourcePathK2.out b/compiler/testData/cli/jvm/nonExistingSourcePathK2.out new file mode 100644 index 00000000000..9d0049b1964 --- /dev/null +++ b/compiler/testData/cli/jvm/nonExistingSourcePathK2.out @@ -0,0 +1,2 @@ +error: source file or directory not found: not/existing/path +COMPILATION_ERROR diff --git a/compiler/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java index e886389195b..e7c9f9934d7 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java @@ -1010,6 +1010,11 @@ public class CliTestGenerated extends AbstractCliTest { runTest("compiler/testData/cli/jvm/nonExistingSourcePath.args"); } + @TestMetadata("nonExistingSourcePathK2.args") + public void testNonExistingSourcePathK2() throws Exception { + runTest("compiler/testData/cli/jvm/nonExistingSourcePathK2.args"); + } + @TestMetadata("nonLocalDisabled.args") public void testNonLocalDisabled() throws Exception { runTest("compiler/testData/cli/jvm/nonLocalDisabled.args");