summaryrefslogtreecommitdiff
path: root/test/scalatest
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2008-02-29 19:04:46 +0000
committerPhilipp Haller <hallerp@gmail.com>2008-02-29 19:04:46 +0000
commitdd1a28887dc5951473339606d6edd9cf3bde30c5 (patch)
treea55cd137c1d64dab4db212d9a2f278e904eb2265 /test/scalatest
parentac08734864e41a50f07fad84f1b0ea536fc1bd42 (diff)
downloadscala-dd1a28887dc5951473339606d6edd9cf3bde30c5.tar.gz
scala-dd1a28887dc5951473339606d6edd9cf3bde30c5.tar.bz2
scala-dd1a28887dc5951473339606d6edd9cf3bde30c5.zip
Modified scalatest and .res files so that parte...
Modified scalatest and .res files so that partest can simulate it
Diffstat (limited to 'test/scalatest')
-rwxr-xr-xtest/scalatest3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/scalatest b/test/scalatest
index f8f4ed7639..2d95aa4df6 100755
--- a/test/scalatest
+++ b/test/scalatest
@@ -248,7 +248,8 @@ test_run_neg() {
test_run_res() {
rm -rf "$dstbase".obj &&
mkdir -p "$dstbase".obj &&
- (cd "$srcdir" && cat "$testname".res | $SCALAC -d "$os_dstbase".obj -Xresident -sourcepath . "$@"; );
+ #(cd "$srcdir" && cat "$testname".res | $SCALAC -d "$os_dstbase".obj -Xresident -sourcepath . "$@"; );
+ (cat "$srcdir/$testname".res | $SCALAC -d "$os_dstbase".obj -Xresident -sourcepath "$srcdir" "$@"; );
rm -rf "$dstbase".obj;
}