]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
TestBed: report major errors logged. on completion
authorAmos Jeffries <amosjeffries@squid-cache.org>
Wed, 10 Sep 2008 01:56:34 +0000 (19:56 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Wed, 10 Sep 2008 01:56:34 +0000 (19:56 -0600)
test-builds.sh

index c58759c088caf2c6018dd6756c5cd93cc0a4dd7e..7f0660842ff4bff64ea1fc970ea9caf91fe9dd4e 100755 (executable)
@@ -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