diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2008-05-08 13:52:53 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2008-05-08 13:52:53 +0000 |
commit | 1c95be35ee2f69269eebd39fed43d9a92c0acfb0 (patch) | |
tree | a3b73a069a53cad078e10892047ad953b60f1055 /src/partest/README | |
parent | a9a6eeac9c9efc9b929f5368ffe9b9b18cd0fdd1 (diff) | |
download | scala-1c95be35ee2f69269eebd39fed43d9a92c0acfb0.tar.gz scala-1c95be35ee2f69269eebd39fed43d9a92c0acfb0.tar.bz2 scala-1c95be35ee2f69269eebd39fed43d9a92c0acfb0.zip |
fixed some minor problems with partest.
Diffstat (limited to 'src/partest/README')
-rw-r--r-- | src/partest/README | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/partest/README b/src/partest/README new file mode 100644 index 0000000000..906439793a --- /dev/null +++ b/src/partest/README @@ -0,0 +1,35 @@ +How partest choses the compiler / library: + + * ''-Dscalatest.build=build/four-pack'' -> will search for libraries in + ''lib'' directory of given path + * ''--pack'' -> will set ''scalatest.build=build/pack'', and run all tests. + add ''--[kind]'' to run a selected set of tests. + * ''--[four]'' -> will set ''scalatest.build=build-four-pack'' and + ''scalatest.scalac_opts=-target:jvm-1.4'', and run all tests. + add ''--kind'' to run a selected set of tests. + * auto detection: + - scalatest.build property -> ''bin'' / ''lib'' directories + - distribution (''dists/latest'') + - supersabbus pack (''build/pack'') + - sabbus quick (''build/quick'') + - installed dist (test files in ''misc/scala-test/files'') + +How partest choses test files: the test files must be accessible from +the directory on which partest is run. So the test files must be either +at: + * ./test/files + * ./files (cwd is "test") + * ./misc/scala-test/files (installed scala distribution) + +Other arguments: + * --pos next files test a compilation success + * --neg next files test a compilation failure + * --run next files test the interpreter and all backends + * --jvm next files test the JVM backend + * --jvm5 next files test the JVM backend + * --res next files test the resident compiler + * --shootout next files are shootout tests + * --script next files test the script runner + * ''-Dscalatest.scalac_opts=-target:jvm-1.4'' -> add compiler options + * ''--verbose'' -> print verbose messages + * ''-Dpartest.debug=true'' -> print debug messages |