diff options
author | Philipp Haller <hallerp@gmail.com> | 2008-03-04 11:08:57 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2008-03-04 11:08:57 +0000 |
commit | 822c99821c5cd3523cc88f32b7a2204909cf86da (patch) | |
tree | 0ccf009722aad1e4ec73f7894acde6607b3edf2b /test/scalatest | |
parent | f99dfe54c4f891d4cb40ee046e347ac4c77872f2 (diff) | |
download | scala-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-x | test/scalatest | 4 |
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; } |