Warn about mistyped phase names in CLI

This commit is contained in:
Georgy Bronnikov
2019-03-19 11:00:54 +03:00
parent 0fb444a5d1
commit 469fd20902
4 changed files with 26 additions and 1 deletions
@@ -486,6 +486,11 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/nonExistingClassPathAndAnnotationsPath.args");
}
@TestMetadata("nonExistingPhaseName.args")
public void testNonExistingPhaseName() throws Exception {
runTest("compiler/testData/cli/jvm/nonExistingPhaseName.args");
}
@TestMetadata("nonExistingSourcePath.args")
public void testNonExistingSourcePath() throws Exception {
runTest("compiler/testData/cli/jvm/nonExistingSourcePath.args");