From c75bafbbbcd9fdd9c32e56b9c45f1177ae628e5c Mon Sep 17 00:00:00 2001 From: paltherr Date: Wed, 18 Jun 2003 08:20:31 +0000 Subject: - Fixed scala-test to make neg-check-files path... - Fixed scala-test to make neg-check-files path-indenpendant. --- test/bin/scala-test | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/bin/scala-test') 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() { -- cgit v1.2.3