summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/bin/scala-test6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/bin/scala-test b/test/bin/scala-test
index 11724fc59b..8119419372 100755
--- a/test/bin/scala-test
+++ b/test/bin/scala-test
@@ -447,6 +447,12 @@ main() {
esac;
fi;
+ if [ -d "$OBJDIR" ]; then
+ OBJDIR=`cd "$OBJDIR"; pwd`;
+ else
+ abort "could not access directory '$OBJDIR'";
+ fi
+
test_all;
if [ $FAILURE_COUNT -eq 0 ]; then