summaryrefslogtreecommitdiff
path: root/test/bin
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-06-19 08:13:04 +0000
committerpaltherr <paltherr@epfl.ch>2003-06-19 08:13:04 +0000
commit11622662c8274ca479da49c7bc058d959c0185ed (patch)
treeb7665c6260f72af39b71173cbf4675a16f6b0c47 /test/bin
parent7dc050f17dd389dce917f9e4849353c91b703170 (diff)
downloadscala-11622662c8274ca479da49c7bc058d959c0185ed.tar.gz
scala-11622662c8274ca479da49c7bc058d959c0185ed.tar.bz2
scala-11622662c8274ca479da49c7bc058d959c0185ed.zip
- Fixed objdir for target --neg
- Added removal of class files for target --neg
Diffstat (limited to 'test/bin')
-rwxr-xr-xtest/bin/scala-test5
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;
)
}