test/setup-test: use 'set -e' so we stop on compile failure.
[mmh] / 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