diff options
author | paltherr <paltherr@epfl.ch> | 2003-06-18 08:20:31 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-06-18 08:20:31 +0000 |
commit | c75bafbbbcd9fdd9c32e56b9c45f1177ae628e5c (patch) | |
tree | 4b3ca905898f6d4fef43cadbe03904b655bf4060 /test/bin | |
parent | 1b049a090b368474006f90a34b19209482ae18ae (diff) | |
download | scala-c75bafbbbcd9fdd9c32e56b9c45f1177ae628e5c.tar.gz scala-c75bafbbbcd9fdd9c32e56b9c45f1177ae628e5c.tar.bz2 scala-c75bafbbbcd9fdd9c32e56b9c45f1177ae628e5c.zip |
- Fixed scala-test to make neg-check-files path...
- Fixed scala-test to make neg-check-files path-indenpendant.
Diffstat (limited to 'test/bin')
-rwxr-xr-x | test/bin/scala-test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/bin/scala-test b/test/bin/scala-test index 8119419372..fed75e4e1a 100755 --- a/test/bin/scala-test +++ b/test/bin/scala-test @@ -143,7 +143,11 @@ test_compilation_success() { } test_compilation_failure() { - if test_compilation_success "$@"; then false; else true; fi; + ( + cd `dirname "$source"`; + source=`basename "$source"`; + if test_compilation_success "$@"; then false; else true; fi; + ) } test_output() { |