Mercurial > gnulib
changeset 34161:4dccbddd9f37
valgrind: do leak checking, and exit with code 1 on error (not 0)
* m4/valgrind-tests.m4: Add `--error-exitcode=1 --leak-check=full'
to VALGRIND.
author | Reuben Thomas <rrt@sc3d.org> |
---|---|
date | Thu, 17 Mar 2011 07:43:08 +0000 |
parents | ea0bbaf76280 |
children | 98739bb18b99 |
files | ChangeLog m4/valgrind-tests.m4 |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Mar 25 03:29:53 2011 +0100 +++ b/ChangeLog Thu Mar 17 07:43:08 2011 +0000 @@ -1,3 +1,9 @@ +2011-03-25 Reuben Thomas <rrt@sc3d.org> + + valgrind: do leak checking, and exit with code 1 on error (not 0) + * m4/valgrind-tests.m4: Add `--error-exitcode=1 --leak-check=full' + to VALGRIND. + 2010-11-30 Reuben Thomas <rrt@sc3d.org> posix-modules: say what it does.
--- a/m4/valgrind-tests.m4 Fri Mar 25 03:29:53 2011 +0100 +++ b/m4/valgrind-tests.m4 Thu Mar 17 07:43:08 2011 +0000 @@ -1,4 +1,4 @@ -# valgrind-tests.m4 serial 1 +# valgrind-tests.m4 serial 2 dnl Copyright (C) 2008-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -23,7 +23,7 @@ if test -n "$VALGRIND" && $VALGRIND -q true > /dev/null 2>&1; then opt_valgrind_tests=yes - VALGRIND="$VALGRIND -q" + VALGRIND="$VALGRIND -q --error-exitcode=1 --leak-check=full" else opt_valgrind_tests=no VALGRIND=