From 26c3ed7692fa8e180d00b02139653470c716a00e Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 18 May 2006 13:08:29 +0200 Subject: [PATCH] When a failed test is encountered, continue with other tests. --- build/check-customs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build/check-customs b/build/check-customs index c50ca1e7..d59861b7 100755 --- a/build/check-customs +++ b/build/check-customs @@ -5,6 +5,7 @@ set -e TEST=0 +ERR= function try { @@ -17,13 +18,13 @@ function try cd $TDIR if ! ../../configure $@ CC=gcc-3.4 >>log 2>&1 ; then echo " CANNOT CONFIGURE" - exit 1 - fi - if ! make >>log 2>&1 ; then + ERR=1 + elif ! make >>log 2>&1 ; then echo " FAILED" - exit 1 + ERR=1 + else + echo " PASSED" fi - echo " PASSED" ) } @@ -45,3 +46,5 @@ else try debug CONFIG_SHARED # debugging configuration with shared libs try debug # debugging configuration fi + +[ -z "$ERR" ] -- 2.39.2