From e56256536d00209b7cee3c7450d5e3fa50e3a966 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Mon, 29 Sep 2014 09:25:37 +0200 Subject: [PATCH] stop on failures --- scripts/check.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.7.4