diff --git a/tests/travis/error_detector.sh b/tests/travis/error_detector.sh index 73cfec6a53c8..d3fe5b6714b7 100755 --- a/tests/travis/error_detector.sh +++ b/tests/travis/error_detector.sh @@ -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