From: Amos Jeffries Date: Wed, 10 Sep 2008 01:56:34 +0000 (-0600) Subject: TestBed: report major errors logged. on completion X-Git-Tag: SQUID_3_1_0_1~49^2~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82cac9ff68751bb9ea6f8db2d41adb63130a5b28;p=thirdparty%2Fsquid.git TestBed: report major errors logged. on completion --- diff --git a/test-builds.sh b/test-builds.sh index c58759c088..7f0660842f 100755 --- a/test-builds.sh +++ b/test-builds.sh @@ -20,5 +20,6 @@ fi for f in `ls -1 ./test-suite/buildtests/layer*.opts` ; do arg=`echo "${f}" | sed s/\\.opts//` echo "TESTING: ${arg}" - ./test-suite/buildtest.sh "${arg}" || exit 1 + ./test-suite/buildtest.sh "${arg}" || + ( grep -E "^ERROR" buildtest_*.log && exit 1 ) done