Updating VALGRIND rules for tests.
authorBrian Aker <brian@tangent.org>
Wed, 6 Jul 2011 21:34:08 +0000 (14:34 -0700)
committerBrian Aker <brian@tangent.org>
Wed, 6 Jul 2011 21:34:08 +0000 (14:34 -0700)
libtest/include.am

index 4ce5a568cdc664173dea0b6c3ad33a9f51d8b263..398037ba9338114da82f1e205098f7fdde3c7014 100644 (file)
@@ -11,7 +11,7 @@
 
 LIBUTEST_TMP = ${abs_top_builddir}/tests/var/tmp/
 
-VALGRIND_COMMAND= $(LIBTOOL) --mode=execute valgrind --leak-check=yes --show-reachable=yes --track-fds=yes --malloc-fill=A5 --free-fill=DE
+VALGRIND_COMMAND= $(LIBTOOL) --mode=execute valgrind --error-exitcode=1 --leak-check=yes --show-reachable=yes --track-fds=yes --malloc-fill=A5 --free-fill=DE
 
 CLEANFILES+= \
             tests/var/log/* \