aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/debug
diff options
context:
space:
mode:
authorliu fengyun <liu@fengy.me>2017-02-10 20:17:45 +0100
committerliu fengyun <liu@fengy.me>2017-02-11 16:35:48 +0100
commit1489eff397482fec14e5da54e4654278a5c6f7dc (patch)
tree91df061ddbb52b751ea3ca54f3399c15745ef2b9 /compiler/test/debug
parentba122f47c98fb0df47e7ec36226367639b742765 (diff)
downloaddotty-1489eff397482fec14e5da54e4654278a5c6f7dc.tar.gz
dotty-1489eff397482fec14e5da54e4654278a5c6f7dc.tar.bz2
dotty-1489eff397482fec14e5da54e4654278a5c6f7dc.zip
remove noise in test output
Diffstat (limited to 'compiler/test/debug')
-rwxr-xr-xcompiler/test/debug/test11
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!"
+