test/setup-test: use 'set -e' so we stop on compile failure.
authorPeter Maydell <pmaydell@chiark.greenend.org.uk>
Sun, 3 Aug 2008 18:45:34 +0000 (18:45 +0000)
committerPeter Maydell <pmaydell@chiark.greenend.org.uk>
Sun, 3 Aug 2008 18:45:34 +0000 (18:45 +0000)
Configure --enable-debug for convenience in debugging.

test/setup-test

index 46b83b0..2636a5d 100755 (executable)
@@ -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