From: Peter Maydell Date: Sun, 3 Aug 2008 18:45:34 +0000 (+0000) Subject: test/setup-test: use 'set -e' so we stop on compile failure. X-Git-Tag: PRE_POSIX_CONVERSION~43 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=a9d65cd81e8ca93af31086a136d1e3ade86ad8d2;p=mmh test/setup-test: use 'set -e' so we stop on compile failure. Configure --enable-debug for convenience in debugging. --- diff --git a/test/setup-test b/test/setup-test index 46b83b0..2636a5d 100755 --- a/test/setup-test +++ b/test/setup-test @@ -1,11 +1,13 @@ #!/bin/sh +set -e + TEMPDIR=`mktemp -d /tmp/nmh-test-XXXXXXXX` echo $TEMPDIR > test-temp-dir cd .. autoheader && autoconf && date > stamp-h.in -./configure --prefix=$TEMPDIR --with-locking=fcntl +./configure --prefix=$TEMPDIR --with-locking=fcntl --enable-debug make clean make install