From: Jean-Philippe Orsini Date: Mon, 29 Sep 2014 07:25:37 +0000 (+0200) Subject: stop on failures X-Git-Tag: v1.2.0~102 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=e56256536d00209b7cee3c7450d5e3fa50e3a966 stop on failures --- diff --git a/scripts/check.sh b/scripts/check.sh index 7b46404..c354a66 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -3,8 +3,9 @@ SCRIPT_DIR=`dirname $0` cd $SCRIPT_DIR/.. -./configure --prefix=/tmp CC=cgcc CPPFLAGS="-Wsparse-all -DCURL_DISABLE_TYPECHECK -Wno-old-initializer" -make clean all check install distcheck 3>&1 1>&2 2>&3 | grep -v "^/usr/include" | tee /tmp/err +./configure --prefix=/tmp CC=cgcc CPPFLAGS="-Wsparse-all -DCURL_DISABLE_TYPECHECK -Wno-old-initializer" || exit 1 +make clean || exit 1 +make all check install distcheck 3>&1 1>&2 2>&3 | grep -v "^/usr/include" | tee /tmp/err cat /tmp/err