summaryrefslogtreecommitdiff
path: root/test/scalatest
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2008-03-04 11:08:57 +0000
committerPhilipp Haller <hallerp@gmail.com>2008-03-04 11:08:57 +0000
commit822c99821c5cd3523cc88f32b7a2204909cf86da (patch)
tree0ccf009722aad1e4ec73f7894acde6607b3edf2b /test/scalatest
parentf99dfe54c4f891d4cb40ee046e347ac4c77872f2 (diff)
downloadscala-822c99821c5cd3523cc88f32b7a2204909cf86da.tar.gz
scala-822c99821c5cd3523cc88f32b7a2204909cf86da.tar.bz2
scala-822c99821c5cd3523cc88f32b7a2204909cf86da.zip
Changed paths in resident compiler tests + scal...
Changed paths in resident compiler tests + scalatest so that partest can emulate it.
Diffstat (limited to 'test/scalatest')
-rwxr-xr-xtest/scalatest4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scalatest b/test/scalatest
index 663a55b891..38bf934d94 100755
--- a/test/scalatest
+++ b/test/scalatest
@@ -248,8 +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 . "$@"; );
- #(cat "$srcdir/$testname".res | $SCALAC -d "$os_dstbase".obj -Xresident -sourcepath "$srcdir" "$@"; );
+ #(cd "$srcdir" && cat "$testname".res | $SCALAC -d "$os_dstbase".obj -Xresident -sourcepath . "$@"; );
+ (cd "$TESTROOT" && cat "$srcdir/$testname".res | $SCALAC -d "$os_dstbase".obj -Xresident -sourcepath "$srcdir" "$@"; );
rm -rf "$dstbase".obj;
}