From 11622662c8274ca479da49c7bc058d959c0185ed Mon Sep 17 00:00:00 2001 From: paltherr Date: Thu, 19 Jun 2003 08:13:04 +0000 Subject: - Fixed objdir for target --neg - Added removal of class files for target --neg --- test/bin/scala-test | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') 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; ) } -- cgit v1.2.3