LV 2.0: add "not existing source path" test which uses K2

This commit is contained in:
Mikhail Glukhikh
2023-09-15 16:58:44 +02:00
committed by Space Team
parent e4b70e7788
commit 198aa675cc
3 changed files with 11 additions and 0 deletions
@@ -0,0 +1,4 @@
not/existing/path
-d
$TEMP_DIR$
+2
View File
@@ -0,0 +1,2 @@
error: source file or directory not found: not/existing/path
COMPILATION_ERROR
@@ -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");