From a9d65cd81e8ca93af31086a136d1e3ade86ad8d2 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Sun, 3 Aug 2008 18:45:34 +0000 Subject: [PATCH] test/setup-test: use 'set -e' so we stop on compile failure. Configure --enable-debug for convenience in debugging. --- test/setup-test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 1.7.10.4