diff options
author | michelou <michelou@epfl.ch> | 2006-05-09 14:59:37 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-05-09 14:59:37 +0000 |
commit | 960380abbfd6b4986915247198f6c8b3576362cb (patch) | |
tree | 124cc8572a568794ef3f9e038422a8ae3d933afa /test/files/cli/test3 | |
parent | 3379165fc10883211f6de9ed6ea89b5424c4bf86 (diff) | |
download | scala-960380abbfd6b4986915247198f6c8b3576362cb.tar.gz scala-960380abbfd6b4986915247198f6c8b3576362cb.tar.bz2 scala-960380abbfd6b4986915247198f6c8b3576362cb.zip |
fixed error in file templates/generic-unix.tmpl
added corresponding test in script file test/clitest
Diffstat (limited to 'test/files/cli/test3')
-rw-r--r-- | test/files/cli/test3/Main.check.java5 | 14 | ||||
-rw-r--r-- | test/files/cli/test3/Main.check.scala | 14 | ||||
-rw-r--r-- | test/files/cli/test3/Main.check.scalac | 3 | ||||
-rw-r--r-- | test/files/cli/test3/Main.check.scalaint | 15 |
4 files changed, 26 insertions, 20 deletions
diff --git a/test/files/cli/test3/Main.check.java5 b/test/files/cli/test3/Main.check.java5 index d920b45a05..de3eb7b136 100644 --- a/test/files/cli/test3/Main.check.java5 +++ b/test/files/cli/test3/Main.check.java5 @@ -1,8 +1,10 @@ Unrecognized option: -cpp Could not create the Java virtual machine. -3: 1: test 1 passed -3: 2: 1: test 1 passed -3: 1: test 2 passed -3: 2: 1: test 2 passed -3: 1: test 3 passed -3: 2: 1: test 3 passed +3: 1: test 1 passed (1) +3: 2: 1: test 1 passed (1) +3: 1: test 2 passed (1) +3: 2: 1: test 2 passed (1) +3: 1: test 3 passed (1) +3: 2: 1: test 3 passed (1) +3: 1: test 4 passed (2) +3: 2: 1: test 4 passed (2) diff --git a/test/files/cli/test3/Main.check.scala b/test/files/cli/test3/Main.check.scala index d920b45a05..de3eb7b136 100644 --- a/test/files/cli/test3/Main.check.scala +++ b/test/files/cli/test3/Main.check.scala @@ -1,8 +1,10 @@ Unrecognized option: -cpp Could not create the Java virtual machine. -3: 1: test 1 passed -3: 2: 1: test 1 passed -3: 1: test 2 passed -3: 2: 1: test 2 passed -3: 1: test 3 passed -3: 2: 1: test 3 passed +3: 1: test 1 passed (1) +3: 2: 1: test 1 passed (1) +3: 1: test 2 passed (1) +3: 2: 1: test 2 passed (1) +3: 1: test 3 passed (1) +3: 2: 1: test 3 passed (1) +3: 1: test 4 passed (2) +3: 2: 1: test 4 passed (2) diff --git a/test/files/cli/test3/Main.check.scalac b/test/files/cli/test3/Main.check.scalac index 3f3244da74..099f5ad579 100644 --- a/test/files/cli/test3/Main.check.scalac +++ b/test/files/cli/test3/Main.check.scalac @@ -15,7 +15,7 @@ where possible options include: -encoding <encoding> Specify character encoding used by source files -windowtitle <windowtitle> Specify window title of generated HTML documentation -documenttitle <documenttitle> Specify document title of generated HTML documentation - -target:<target> Specify which backend to use (jvm,msil) + -target:<target> Specify which backend to use (jvm-1.5,jvm-1.4,msil,cldc) -migrate Assist in migrating from Scala version 1.0 -debug Output debugging messages -statistics Print compiler statistics @@ -38,6 +38,7 @@ where possible options include: -version Print product version and exit -help Print a synopsis of standard options -Xinline Perform inlining when possible + -Xcloselim Perform closure elimination -Xshowcls <class> Show class info -Xshowobj <object> Show object info -Xshowicode Print the generated ICode diff --git a/test/files/cli/test3/Main.check.scalaint b/test/files/cli/test3/Main.check.scalaint index 2fdf9c927a..2de27b074f 100644 --- a/test/files/cli/test3/Main.check.scalaint +++ b/test/files/cli/test3/Main.check.scalaint @@ -14,7 +14,7 @@ where possible options include: -encoding <encoding> Specify character encoding used by source files -windowtitle <windowtitle> Specify window title of generated HTML documentation -documenttitle <documenttitle> Specify document title of generated HTML documentation - -target:<target> Specify which backend to use (jvm,msil) + -target:<target> Specify which backend to use (jvm-1.5,jvm-1.4,msil,cldc) -migrate Assist in migrating from Scala version 1.0 -debug Output debugging messages -statistics Print compiler statistics @@ -37,6 +37,7 @@ where possible options include: -version Print product version and exit -help Print a synopsis of standard options -Xinline Perform inlining when possible + -Xcloselim Perform closure elimination -Xshowcls <class> Show class info -Xshowobj <object> Show object info -Xshowicode Print the generated ICode @@ -53,8 +54,8 @@ Type :load followed by a filename to load a sequence of interpreter commands. Type :replay to reset execution and replay all previous commands. Type :help to repeat this message later. -scala> 3: 1: test 1 passed -3: 2: 1: test 1 passed +scala> 3: 1: test 1 passed (1) +3: 2: 1: test 1 passed (1) line0: scala.Unit = () scala> @@ -66,8 +67,8 @@ Type :load followed by a filename to load a sequence of interpreter commands. Type :replay to reset execution and replay all previous commands. Type :help to repeat this message later. -scala> 3: 1: test 2 passed -3: 2: 1: test 2 passed +scala> 3: 1: test 2 passed (1) +3: 2: 1: test 2 passed (1) line0: scala.Unit = () scala> @@ -79,8 +80,8 @@ Type :load followed by a filename to load a sequence of interpreter commands. Type :replay to reset execution and replay all previous commands. Type :help to repeat this message later. -scala> 3: 1: test 3 passed -3: 2: 1: test 3 passed +scala> 3: 1: test 3 passed (1) +3: 2: 1: test 3 passed (1) line0: scala.Unit = () scala> |