From 9236b68779a55cc472c955dc1706fa54e433bf73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=27Morty=27=20Str=C3=BCbe?= Date: Wed, 8 Oct 2014 10:59:59 +0200 Subject: [PATCH] Only fail on real fails --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 695a6fe54..a06b17454 100644 --- a/.travis.yml +++ b/.travis.yml @@ -78,7 +78,7 @@ after_script: - "[ ${BUILD_CATEGORY:-sim} = sim ] && tail regression-tests/??-$BUILD_TYPE/*.testlog" ## Print a basic summary - "echo 'Summary:'; cat regression-tests/??-$BUILD_TYPE/summary" - - "FAILS=`grep -c -i 'fail' regression-tests/??-$BUILD_TYPE/summary`" + - "FAILS=`grep -c ' FAIL ' regression-tests/??-$BUILD_TYPE/summary`" ## This will detect whether the build should pass or fail - "test $FAILS -eq 0; exit $?"