From 47e617d9624de8f36bb222398604f386d561d0aa Mon Sep 17 00:00:00 2001 From: michelou Date: Thu, 29 Jun 2006 11:24:24 +0000 Subject: updated cli test, added test for multiline strings --- test/files/cli/test3/Main.check.scala_api | 21 ++++++++++++ test/files/cli/test3/Main.check.scalaint | 57 ++++++------------------------- 2 files changed, 31 insertions(+), 47 deletions(-) create mode 100644 test/files/cli/test3/Main.check.scala_api (limited to 'test/files/cli/test3') diff --git a/test/files/cli/test3/Main.check.scala_api b/test/files/cli/test3/Main.check.scala_api new file mode 100644 index 0000000000..e65cebac24 --- /dev/null +++ b/test/files/cli/test3/Main.check.scala_api @@ -0,0 +1,21 @@ +|-- 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 +|-- test3 +| `-- Main$object.html +|-- test3$content.html +`-- test3$package.html + + +3 directories, 15 files diff --git a/test/files/cli/test3/Main.check.scalaint b/test/files/cli/test3/Main.check.scalaint index ac14f5f315..7beaa665ae 100644 --- a/test/files/cli/test3/Main.check.scalaint +++ b/test/files/cli/test3/Main.check.scalaint @@ -1,50 +1,13 @@ -scalaint: unknown option: '-cpp' -Usage: scalaint -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 Specify where to find user class files - -sourcepath Specify where to find input source files - -bootclasspath Override location of bootstrap class files - -extdirs Override location of installed extensions - -d Specify where to place generated class files - -encoding Specify character encoding used by source files - -windowtitle Specify window title of generated HTML documentation - -documenttitle Specify document title of generated HTML documentation - -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: Skip - -check: Check the tree at start of - -print: Print out program after - -printer: Printer to use (text,html) - -printfile Specify file in which to print trees - -graph: Graph the program after - -browse: Browse the abstract syntax tree after - -stop: Stop after phase - -log: Log operations in - -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 Show class info - -Xshowobj Show object info - -Xshowicode Print the generated ICode - -Xgadt enable gadt for classes - -Xlinearizer: Linearizer to use (normal,dfs,rpo,dump) - -Xgenerics Use generic Java types +unknown option: '-cpp' +scala [ | -howtorun:how ]... [ ] + +'s are as for scalac; see scalac -help. +, if present, is an object or script file to run. +If no is present, run an interactive interpreter. +-howtorun allows explicitly specifying how to run : + script: it is a script file + object: it is an object name + guess: (the default) try to guess This is an interpreter for Scala. -- cgit v1.2.3