Skip to content

Commit

Permalink
remove noise in test output
Browse files Browse the repository at this point in the history
  • Loading branch information
liufengyun committed Feb 11, 2017
1 parent ba122f4 commit 1489eff
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions compiler/test/debug/test
Original file line number Diff line number Diff line change
@@ -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!"

0 comments on commit 1489eff

Please sign in to comment.