diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2011-03-01 18:29:40 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2011-03-01 18:29:40 +0000 |
commit | a07df6427f37849f9fc9456acc937082919b23d6 (patch) | |
tree | a2d177e202a23d712cbd2fe71b7ee7887c666908 /test/files/presentation/simple-tests.opts | |
parent | fdaa0a7a0178eab124d65f96e872c07c4400c94a (diff) | |
download | scala-a07df6427f37849f9fc9456acc937082919b23d6.tar.gz scala-a07df6427f37849f9fc9456acc937082919b23d6.tar.bz2 scala-a07df6427f37849f9fc9456acc937082919b23d6.zip |
Long overdue rehaul of presentation compiler te...
Long overdue rehaul of presentation compiler tests. Added support for
options file, and switched simple-tests to use the STARR library on the
test classpath.
Put any options you need passed to the presentation compiler in a file
with the same name as the test, ending in '.opts'. Currently it's used
to set the -bootclasspath for simple-tests. Check the contents of
simple-tests.opts for all the options.
IMPORTANT: when committing a new STARR, you need to check this test.
Most likely, you *will* break it otherwise.
review by extempore
Diffstat (limited to 'test/files/presentation/simple-tests.opts')
-rw-r--r-- | test/files/presentation/simple-tests.opts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/files/presentation/simple-tests.opts b/test/files/presentation/simple-tests.opts new file mode 100644 index 0000000000..226b40a9f5 --- /dev/null +++ b/test/files/presentation/simple-tests.opts @@ -0,0 +1,17 @@ +# This file contains command line options that are passed to the presentation compiler +# Lines starting with # are stripped, and you can split arguments on several lines. + +# The -bootclasspath option is treated specially by the test framework: if it's not specified +# in this file, the presentation compiler will pick up the scala-library/compiler that's on the +# java classpath used to run this test (usually build/pack) + +# Any option can be passed this way, like presentation debug +# -Ypresentation-debug + +# the classpath is relative to the current working directory. That means it depends where you're +# running partest from. Run it from the root scala checkout for these files to resolve correctly +# (by default when running 'ant test', or 'test/partest'). +-bootclasspath lib/scala-compiler.jar:lib/scala-library.jar:lib/fjbg.jar + +# the following line would test using the quick compiler +# -bootclasspath build/quick/classes/compiler:build/quick/classes/library:lib/fjbg.jar |