* src/tgbatest/defs.in (VALGRIND): Specify --tool=memcheck for

compatibility with valgrind 2.1.x.
* src/ltltest/defs.in (VALGRIND): Likewise.
This commit is contained in:
Alexandre Duret-Lutz 2004-07-20 15:47:30 +00:00
parent f84dd2e72c
commit df75d35a5a
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2004-07-20 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbatest/defs.in (VALGRIND): Specify --tool=memcheck for
compatibility with valgrind 2.1.x.
* src/ltltest/defs.in (VALGRIND): Likewise.
2004-07-16 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-07-16 Alexandre Duret-Lutz <adl@src.lip6.fr>
* m4/gccwarn.m4: Do not check nor use -Wstrict-prototypes. * m4/gccwarn.m4: Do not check nor use -Wstrict-prototypes.

View file

@ -56,7 +56,8 @@ run()
if test -n "$VALGRIND"; then if test -n "$VALGRIND"; then
exec 6>valgrind.err exec 6>valgrind.err
GLIBCPP_FORCE_NEW=1 \ GLIBCPP_FORCE_NEW=1 \
$VALGRIND --leak-check=yes --logfile-fd=6 -q "$@" || exitcode=$? $VALGRIND --tool=memcheck --leak-check=yes --logfile-fd=6 -q "$@" ||
exitcode=$?
cat valgrind.err 1>&2 cat valgrind.err 1>&2
test -z "`sed 1q valgrind.err`" || exit 50 test -z "`sed 1q valgrind.err`" || exit 50
rm -f valgrind.err rm -f valgrind.err

View file

@ -60,7 +60,8 @@ run()
exec 6>valgrind.err exec 6>valgrind.err
GLIBCPP_FORCE_NEW=1 \ GLIBCPP_FORCE_NEW=1 \
../../libtool --mode=execute \ ../../libtool --mode=execute \
$VALGRIND --leak-check=yes --logfile-fd=6 -q "$@" || exitcode=$? $VALGRIND --tool=memcheck --leak-check=yes --logfile-fd=6 -q "$@" ||
exitcode=$?
cat valgrind.err 1>&2 cat valgrind.err 1>&2
test -z "`sed 1q valgrind.err`" || exit 50 test -z "`sed 1q valgrind.err`" || exit 50
rm -f valgrind.err rm -f valgrind.err