diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-05-06 17:16:54 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-05-06 17:16:54 +0000 |
commit | e8ad9d9f30e20dc10f5fe012ed8833c9df3e1912 (patch) | |
tree | 2f06dab67d62a54434553012a28ab31c3890cbd8 /src/partest/README | |
parent | 8b5acce2712dd6e7e86d006956214799669c67ff (diff) | |
download | scala-e8ad9d9f30e20dc10f5fe012ed8833c9df3e1912.tar.gz scala-e8ad9d9f30e20dc10f5fe012ed8833c9df3e1912.tar.bz2 scala-e8ad9d9f30e20dc10f5fe012ed8833c9df3e1912.zip |
Merged revisions 21810-21811,21816-21818,21826,...
Merged revisions 21810-21811,21816-21818,21826,21829 via svnmerge from
https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk
........
r21810 | imaier | 2010-05-05 11:59:25 +0200 (Wed, 05 May 2010) | 1 line
Fixed #3358. Added explicit expected types to cachedWrapper calls,
deprecated explicit resizing of UIElements. ........ r21811 | rytz |
2010-05-05 13:53:31 +0200 (Wed, 05 May 2010) | 1 line
revert the revert of r21791 (fix constructor parameter annotations).
close #3390. together with a new starr it builds. no review. ........
r21816 | extempore | 2010-05-05 18:56:55 +0200 (Wed, 05 May 2010) | 2
lines
Rolled back a subset of partest to use StreamAppender and avoid
io.Process. No review. ........ r21817 | dragos | 2010-05-05 19:59:21
+0200 (Wed, 05 May 2010) | 3 lines
Tightened what gets specialized: only when the type parameter appears
at top level, or as a type argument to a Java array. For example T,
Array[T] cause specialization, but List[T] does not. Resurrected
spec-matrix, forgotten among the disabled tests. No review. ........
r21818 | dragos | 2010-05-05 20:26:17 +0200 (Wed, 05 May 2010) | 1 line
Removed some logging and prune CollectMethodBodies to not traverse
more than necessary. No review. ........ r21826 | extempore | 2010-05-06
16:57:56 +0200 (Thu, 06 May 2010) | 1 line
Fixed bug in transpose, closes #3397, no review.
........
r21829 | extempore | 2010-05-06 18:37:13 +0200 (Thu, 06 May 2010) | 5 lines
Rolled partest back to r21328. Attempted to make the minimum changes
necessary to plug it back in while preserving everything which has
happened since then in tests and such, but we should be the lookout for
overreversion. Review by phaller (but as a formality, I don't think it
requires direct review.) ........
Diffstat (limited to 'src/partest/README')
-rw-r--r-- | src/partest/README | 76 |
1 files changed, 29 insertions, 47 deletions
diff --git a/src/partest/README b/src/partest/README index c7673fe2f8..81876fc810 100644 --- a/src/partest/README +++ b/src/partest/README @@ -1,50 +1,32 @@ -If you're looking for something to read, I suggest running ../test/partest -with no arguments, which at this moment prints this: +How partest choses the compiler / library: -Usage: partest [<options>] [<test> <test> ...] - <test>: a path to a test designator, typically a .scala file or a directory. - Examples: files/pos/test1.scala, files/res/bug785 + * ''-Dpartest.build=build/four-pack'' -> will search for libraries in + ''lib'' directory of given path + * ''--pack'' -> will set ''partest.build=build/pack'', and run all tests. + add ''--[kind]'' to run a selected set of tests. + * auto detection: + - partest.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'') - Test categories: - --all run all tests (default, unless no options given) - --pos Compile files that are expected to build - --neg Compile files that are expected to fail - --run Test JVM backend - --jvm Test JVM backend - --res Run resident compiler scenarii - --buildmanager Run Build Manager scenarii - --scalacheck Run Scalacheck tests - --script Run script files - --shootout Run shootout tests - --scalap Run scalap tests +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) - Test "smart" categories: - --grep run all tests with a source file containing <expr> - --failed run all tests which failed on the last run - - Specifying paths and additional flags, ~ means repository root: - --rootdir path from ~ to partest (default: test) - --builddir path from ~ to test build (default: build/pack) - --srcdir path from --rootdir to sources (default: files) - --javaopts flags to java on all runs (overrides JAVA_OPTS) - --scalacopts flags to scalac on all tests (overrides SCALAC_OPTS) - --pack alias for --builddir build/pack - --quick alias for --builddir build/quick - - Options influencing output: - --trace show the individual steps taken by each test - --show-diff show diff between log and check file - --show-log show log on failures - --dry-run do not run tests, only show their traces. - --terse be less verbose (almost silent except for failures) - --verbose be more verbose (additive with --trace) - --debug maximum debugging output - --ansi print output in color - - Other options: - --timeout Timeout in seconds - --cleanup delete all stale files and dirs before run - --nocleanup do not delete any logfiles or object dirs - --stats collect and print statistics about the tests - --validate examine test filesystem for inconsistencies - --version print version +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 + * --res next files test the resident compiler + * --buildmanager next files test the build manager + * --shootout next files are shootout tests + * --script next files test the script runner + * ''-Dpartest.scalac_opts=...'' -> add compiler options + * ''--verbose'' -> print verbose messages + * ''-Dpartest.debug=true'' -> print debug messages |