Skip to content

Commit

Permalink
Delete test result file when finished
Browse files Browse the repository at this point in the history
  • Loading branch information
terrytangyuan committed Dec 30, 2015
1 parent e74d226 commit 621573d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/travis/error_detector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ if [ "$testFail" == "0" ]; then
# print results if anything fails
cat $file
echo "Some unit tests failed. "
rm $file
exit 1
else
echo "All unit tests passed! "
rm $file
fi

0 comments on commit 621573d

Please sign in to comment.