summaryrefslogtreecommitdiff
path: root/test/scalatest
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-03-28 14:52:10 +0000
committermihaylov <mihaylov@epfl.ch>2006-03-28 14:52:10 +0000
commit4bbc472029db1ded571cac77f7ddc5c57aea0604 (patch)
treed019302143ca6533fa08375ac3859c4a8c984e9c /test/scalatest
parentabc7c2c51c2e0e2cdaca71b38776d91b50e0b690 (diff)
downloadscala-4bbc472029db1ded571cac77f7ddc5c57aea0604.tar.gz
scala-4bbc472029db1ded571cac77f7ddc5c57aea0604.tar.bz2
scala-4bbc472029db1ded571cac77f7ddc5c57aea0604.zip
Added a --pending option to run the tests in in...
Added a --pending option to run the tests in in test/pending/
Diffstat (limited to 'test/scalatest')
-rwxr-xr-xtest/scalatest5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/scalatest b/test/scalatest
index 81e3868d9e..defaa89a0c 100755
--- a/test/scalatest
+++ b/test/scalatest
@@ -443,8 +443,8 @@ FAILED="false";
ERRORS=0;
SUCCESS_COUNT=0;
FAILURE_COUNT=0;
-TESTROOT="$PREFIX/test/files";
-SRCDIR="$PREFIX/test/files";
+TESTROOT="$PREFIX/test";
+SRCDIR="$TESTROOT/files";
OBJDIR="""";
TEST_ALL="true";
@@ -488,6 +488,7 @@ while [ $# -gt 0 ]; do
--show-log ) SHOWLOG="true"; shift 1;;
--show-diff ) SHOWDIFF="true"; shift 1;;
--failed ) FAILED="true"; shift 1;;
+ --pending ) SRCDIR="$TESTROOT/pending"; shift 1;;
--errors= ) abort "illegal empty argument for option --errors";;
--errors=* ) ERRORS=`expr "$1" : "--errors=\([0-9]*\)$"`;shift 1;;
--flags= ) abort "illegal empty argument for option --flags";;