From 1819fb81bfb65e97acce6d45eda237735c65b01c Mon Sep 17 00:00:00 2001 From: michelou Date: Mon, 24 Apr 2006 15:15:56 +0000 Subject: corrected errors in script test/clitest added cli tests to package 'scala-test' --- test/files/cli/test2/Main.check.java5 | 5 +++++ test/files/cli/test2/Main.check.javac5 | 4 ---- test/files/cli/test2/Main.check.javac6 | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 test/files/cli/test2/Main.check.java5 create mode 100644 test/files/cli/test2/Main.check.javac6 (limited to 'test/files/cli/test2') diff --git a/test/files/cli/test2/Main.check.java5 b/test/files/cli/test2/Main.check.java5 new file mode 100644 index 0000000000..8929b20b08 --- /dev/null +++ b/test/files/cli/test2/Main.check.java5 @@ -0,0 +1,5 @@ +Unrecognized option: -cpp +Could not create the Java virtual machine. +2: 1: test 1 passed +2: 1: test 2 passed +2: 1: test 3 passed diff --git a/test/files/cli/test2/Main.check.javac5 b/test/files/cli/test2/Main.check.javac5 index d20df8ffe7..52bb3a06e3 100644 --- a/test/files/cli/test2/Main.check.javac5 +++ b/test/files/cli/test2/Main.check.javac5 @@ -26,7 +26,3 @@ files/cli/test2/Main.java:5: package test1 does not exist test1.Main.main(args); ^ 1 error -files/cli/test2/Main.java:5: package test1 does not exist - test1.Main.main(args); - ^ -1 error diff --git a/test/files/cli/test2/Main.check.javac6 b/test/files/cli/test2/Main.check.javac6 new file mode 100644 index 0000000000..350d3253bc --- /dev/null +++ b/test/files/cli/test2/Main.check.javac6 @@ -0,0 +1,33 @@ +javac: invalid flag: -dd +Usage: javac +where possible options include: + -g Generate all debugging info + -g:none Generate no debugging info + -g:{lines,vars,source} Generate only some debugging info + -nowarn Generate no warnings + -verbose Output messages about what the compiler is doing + -deprecation Output source locations where deprecated APIs are used + -classpath Specify where to find user class files and annotation processors + -cp Specify where to find user class files and annotation processors + -sourcepath Specify where to find input source files + -bootclasspath Override location of bootstrap class files + -extdirs Override location of installed extensions + -endorseddirs Override location of endorsed standards path + -proc:{none, only} Control whether annotation processing and/or compilation is done. + -processor Name of the annotation processor to run; bypasses default discovery process + -processorpath Specify where to find annotation processors + -d Specify where to place generated class files + -s Specify where to place generated source files + -encoding Specify character encoding used by source files + -source Provide source compatibility with specified release + -target Generate class files for specific VM version + -version Version information + -help Print a synopsis of standard options + -A[key[=value]] Options to pass to annotation processors + -X Print a synopsis of nonstandard options + -J Pass directly to the runtime system + +files/cli/test2/Main.java:5: package test1 does not exist + test1.Main.main(args); + ^ +1 error -- cgit v1.2.3