summaryrefslogtreecommitdiff
path: root/test/files/cli/test2/Main.check.scala_j9
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2006-06-20 17:08:24 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2006-06-20 17:08:24 +0000
commitc1cc40e97d8a3c373e7f34826fb0047441b4e392 (patch)
treedd5e13424f09d16c9e8dbd1ab90a020c021e6294 /test/files/cli/test2/Main.check.scala_j9
parent4d929158efa9a6e95df14c399091a0f213aebf2d (diff)
downloadscala-c1cc40e97d8a3c373e7f34826fb0047441b4e392.tar.gz
scala-c1cc40e97d8a3c373e7f34826fb0047441b4e392.tar.bz2
scala-c1cc40e97d8a3c373e7f34826fb0047441b4e392.zip
Corrected a bunch of problems with the clitest ...
Corrected a bunch of problems with the clitest script. All test cases should now pass.
Diffstat (limited to 'test/files/cli/test2/Main.check.scala_j9')
-rw-r--r--test/files/cli/test2/Main.check.scala_j941
1 files changed, 10 insertions, 31 deletions
diff --git a/test/files/cli/test2/Main.check.scala_j9 b/test/files/cli/test2/Main.check.scala_j9
index 8e05719831..80cbb50fa9 100644
--- a/test/files/cli/test2/Main.check.scala_j9
+++ b/test/files/cli/test2/Main.check.scala_j9
@@ -1,36 +1,15 @@
-JVMJ9VM007E Command-line option unrecognised: -cpp
-Could not create the Java virtual machine.
+unknown option: '-cpp'
+scala [ <compiler-option> | -howtorun:how ]... [<torun> <arguments>]
-Usage: java [-options] class [args...]
- (to execute a class)
- or java [-jar] [-options] jarfile [args...]
- (to execute a jar file)
-
-where options include:
- -cp -classpath <directories and zip/jar files separated by :>
- set search path for application classes and resources
- -D<name>=<value>
- set a system property
- -verbose[:class|gc|jni]
- enable verbose output
- -version print product version
- -version:<value>
- require the specified version to run
- -showversion print product version and continue
- -jre-restrict-search | -no-jre-restrict-search
- include/exclude user private JREs in the version search
- -agentlib:<libname>[=<options>]
- load native agent library <libname>, e.g. -agentlib:hprof
- see also, -agentlib:jdwp=help and -agentlib:hprof=help
- -agentpath:<pathname>[=<options>]
- load native agent library by full pathname
- -javaagent:<jarpath>[=<options>]
- load Java programming language agent, see java.lang.instrument
- -? -help print this help message
- -X print help on non-standard options
- -assert print help on assert options
+<compiler-option>'s are as for scalac; see scalac -help.
+<torun>, if present, is an object or script file to run.
+If no <torun> is present, run an interactive interpreter.
+-howtorun allows explicitly specifying how to run <torun>:
+ script: it is a script file
+ object: it is an object name
+ guess: (the default) try to guess
2: 1: test 1 passed (1)
2: 1: test 2 passed (1)
2: 1: test 3 passed (1)
-2: 1: test 4 passed (4)
+2: 1: test 4 passed (2)