diff options
author | michelou <michelou@epfl.ch> | 2006-06-29 11:24:24 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-06-29 11:24:24 +0000 |
commit | 47e617d9624de8f36bb222398604f386d561d0aa (patch) | |
tree | 98cb4536037d189fd42d704092903a5f8f66e977 /test/files/cli/test2 | |
parent | 4006064a64dbcececb368449b54d3b4592df48f2 (diff) | |
download | scala-47e617d9624de8f36bb222398604f386d561d0aa.tar.gz scala-47e617d9624de8f36bb222398604f386d561d0aa.tar.bz2 scala-47e617d9624de8f36bb222398604f386d561d0aa.zip |
updated cli test, added test for multiline strings
Diffstat (limited to 'test/files/cli/test2')
-rw-r--r-- | test/files/cli/test2/Main.check.scala_api | 17 | ||||
-rw-r--r-- | test/files/cli/test2/Main.check.scalaint | 57 |
2 files changed, 27 insertions, 47 deletions
diff --git a/test/files/cli/test2/Main.check.scala_api b/test/files/cli/test2/Main.check.scala_api new file mode 100644 index 0000000000..1df1a7fb32 --- /dev/null +++ b/test/files/cli/test2/Main.check.scala_api @@ -0,0 +1,17 @@ +|-- all-classes.html +|-- index.html +|-- modules.html +|-- root-content.html +|-- script.js +|-- style.css +|-- test1 +| `-- Main$object.html +|-- test1$content.html +|-- test1$package.html +|-- test2 +| `-- Main$object.html +|-- test2$content.html +`-- test2$package.html + + +2 directories, 12 files diff --git a/test/files/cli/test2/Main.check.scalaint b/test/files/cli/test2/Main.check.scalaint index e9f2bc743d..e01f2b77ee 100644 --- a/test/files/cli/test2/Main.check.scalaint +++ b/test/files/cli/test2/Main.check.scalaint @@ -1,50 +1,13 @@ -scalaint: unknown option: '-cpp' -Usage: scalaint <options | source files> -where possible options include: - -doc Generate documentation - -g Generate debugging info - -nowarn Generate no warnings - -noassert Generate no assertions and assumptions - -verbose Output messages about what the compiler is doing - -classpath <path> Specify where to find user class files - -sourcepath <path> Specify where to find input source files - -bootclasspath <path> Override location of bootstrap class files - -extdirs <dirs> Override location of installed extensions - -d <directory> Specify where to place generated class files - -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-1.5,jvm-1.4,msil,cldc) - -migrate Assist in migrating from Scala version 1.0 - -debug Output debugging messages - -statistics Print compiler statistics - -explaintypes Explain type errors in more detail - -resident Compiler stays resident, files to compile are read from standard input - -uniqid Print identifiers with unique names (debugging option) - -printtypes Print tree types (debugging option) - -prompt Display a prompt after each error (debugging option) - -noimports Compile without any implicit imports - -nopredefs Compile without any implicit predefined values - -skip:<phase> Skip <phase> - -check:<phase> Check the tree at start of <phase> - -print:<phase> Print out program after <phase> - -printer:<printer> Printer to use (text,html) - -printfile <file> Specify file in which to print trees - -graph:<phase> Graph the program after <phase> - -browse:<phase> Browse the abstract syntax tree after <phase> - -stop:<phase> Stop after phase <phase> - -log:<phase> Log operations in <phase> - -version Print product version and exit - -help Print a synopsis of standard options - -Xinline Perform inlining when possible - -Xcloselim Perform closure elimination - -Xdce Perform dead code elimination - -Xshowcls <class> Show class info - -Xshowobj <object> Show object info - -Xshowicode Print the generated ICode - -Xgadt enable gadt for classes - -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo,dump) - -Xgenerics Use generic Java types +unknown option: '-cpp' +scala [ <compiler-option> | -howtorun:how ]... [<torun> <arguments>] + +<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 This is an interpreter for Scala. |