diff options
Diffstat (limited to 'compiler/test/debug/test')
-rwxr-xr-x | compiler/test/debug/test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/test/debug/test b/compiler/test/debug/test index c24801cb1..78bec3be0 100755 --- a/compiler/test/debug/test +++ b/compiler/test/debug/test @@ -2,12 +2,12 @@ set -x -sbt compile package || exit 1 +DIR="$( cd "$( dirname "$0" )" && pwd )" for file in tests/debug/*.scala; do ./bin/dotc $file || exit 1 ./bin/dotr -d Test& - ./compiler/test/debug/Gen $file > robot + $DIR/Gen $file > robot expect robot if [[ $? != 0 ]]; then @@ -15,3 +15,4 @@ for file in tests/debug/*.scala; do exit 1 fi done + |