diff options
author | paltherr <paltherr@epfl.ch> | 2003-06-19 08:13:04 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-06-19 08:13:04 +0000 |
commit | 11622662c8274ca479da49c7bc058d959c0185ed (patch) | |
tree | b7665c6260f72af39b71173cbf4675a16f6b0c47 | |
parent | 7dc050f17dd389dce917f9e4849353c91b703170 (diff) | |
download | scala-11622662c8274ca479da49c7bc058d959c0185ed.tar.gz scala-11622662c8274ca479da49c7bc058d959c0185ed.tar.bz2 scala-11622662c8274ca479da49c7bc058d959c0185ed.zip |
- Fixed objdir for target --neg
- Added removal of class files for target --neg
-rwxr-xr-x | test/bin/scala-test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/bin/scala-test b/test/bin/scala-test index fed75e4e1a..8d855f040e 100755 --- a/test/bin/scala-test +++ b/test/bin/scala-test @@ -144,9 +144,12 @@ test_compilation_success() { test_compilation_failure() { ( + OBJDIR="$OBJDIR/"`dirname "$source"`; cd `dirname "$source"`; source=`basename "$source"`; - if test_compilation_success "$@"; then false; else true; fi; + if test_compilation_success "$@"; then false; else + rm -rf "$output"; + fi; ) } |