diff options
Diffstat (limited to 'compiler/test/debug')
-rwxr-xr-x | compiler/test/debug/test | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/compiler/test/debug/test b/compiler/test/debug/test index 78bec3be0..603e3c153 100755 --- a/compiler/test/debug/test +++ b/compiler/test/debug/test @@ -1,18 +1,21 @@ #!/usr/bin/env bash -set -x - DIR="$( cd "$( dirname "$0" )" && pwd )" +echo "start debug test..." for file in tests/debug/*.scala; do ./bin/dotc $file || exit 1 - ./bin/dotr -d Test& + ./bin/dotr -d Test > /dev/null & $DIR/Gen $file > robot - expect robot + expect robot 2>&1 > /dev/null if [[ $? != 0 ]]; then echo "debug test failed for file $file" exit 1 fi + + echo "$file -- success" done +echo "debug test success!" + |