From: Peter Stamfest Date: Wed, 5 Mar 2014 19:48:38 +0000 (+0100) Subject: Allow to ask for continuing tests for intergration testing X-Git-Tag: v1.5.0-rc1~129^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b76fb39286f5c07d1d62bbf0a250e57c614d3ad;p=thirdparty%2Frrdtool-1.x.git Allow to ask for continuing tests for intergration testing --- diff --git a/tests/functions b/tests/functions index 269b14d2..1b8d4d71 100644 --- a/tests/functions +++ b/tests/functions @@ -4,10 +4,12 @@ BASEDIR=$(dirname $0) RRDTOOL=$BASEDIR/../src/rrdtool DIFF="diff -u" -INTERACTIVE= function fail { echo >&2 "FAILED:" "$@" + if [ -n "$CONTINUE" ] ; then + return + fi if [ -n "$INTERACTIVE" ] ; then read -p "Continue? (y/n)" YN if [ "$YN" != 'y' ] ; then