blob: 430a2987f8c0d46296678fa31522c9097ad377da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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.
* 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
* --res next files test the resident compiler
* --shootout next files are shootout tests
* --script next files test the script runner
* ''-Dscalatest.scalac_opts=...'' -> add compiler options
* ''--verbose'' -> print verbose messages
* ''-Dpartest.debug=true'' -> print debug messages
|