diff options
author | paltherr <paltherr@epfl.ch> | 2003-11-19 19:01:22 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-11-19 19:01:22 +0000 |
commit | 24b5f2f352da240fc34b424b1921d4126f3b6dd7 (patch) | |
tree | 792a649892caee4f2ef43db76e1afc680d53d29d /test/bin/scala-test | |
parent | 0b4f31189a5bf5e7dca7218aee3089d5983831da (diff) | |
download | scala-24b5f2f352da240fc34b424b1921d4126f3b6dd7.tar.gz scala-24b5f2f352da240fc34b424b1921d4126f3b6dd7.tar.bz2 scala-24b5f2f352da240fc34b424b1921d4126f3b6dd7.zip |
- Added flag --boot
Diffstat (limited to 'test/bin/scala-test')
-rwxr-xr-x | test/bin/scala-test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/bin/scala-test b/test/bin/scala-test index c65bf619b5..fb0e92d48c 100755 --- a/test/bin/scala-test +++ b/test/bin/scala-test @@ -289,6 +289,7 @@ print_help() { echo "--xml next files test the dtd2scala tool"; echo "--pos next files test a compilation success"; echo "--neg next files test a compilation failure"; + echo "--boot use bootstrap compiler"; echo "--no-run run no test, use results of last run"; echo "--show-log show output of failed tests"; echo "--show-diff show differences between actual and expected output"; @@ -400,6 +401,7 @@ add_file() { } main() { + BOOT="false"; NORUN="false"; SHOWLOG="false"; SHOWDIFF="false"; @@ -437,6 +439,7 @@ main() { --xml ) TEST_TYPE="xml"; shift 1;; --pos ) TEST_TYPE="pos"; shift 1;; --neg ) TEST_TYPE="neg"; shift 1;; + --boot ) BOOT="true"; shift 1;; --no-run ) NORUN="true"; shift 1;; --show-log ) SHOWLOG="true"; shift 1;; --show-diff ) SHOWDIFF="true"; shift 1;; @@ -476,6 +479,10 @@ main() { find_program DTD2SCALA dtd2scala; find_program SCALA_INFO scala-info; + if [ "$BOOT" = true ]; then + SOCOS=${SOCOS}boot; + fi; + if [ "$TEST_ALL" = "true" ]; then case "$TEST_TYPE" in run ) FILES_RUN="$FILES_RUN $SRCDIR/run";; |