Commit df75d35a authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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

compatibility with valgrind 2.1.x.
* src/ltltest/defs.in (VALGRIND): Likewise.
parent f84dd2e7
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>
* m4/gccwarn.m4: Do not check nor use -Wstrict-prototypes.
......
......@@ -56,7 +56,8 @@ run()
if test -n "$VALGRIND"; then
exec 6>valgrind.err
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
test -z "`sed 1q valgrind.err`" || exit 50
rm -f valgrind.err
......
......@@ -60,7 +60,8 @@ run()
exec 6>valgrind.err
GLIBCPP_FORCE_NEW=1 \
../../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
test -z "`sed 1q valgrind.err`" || exit 50
rm -f valgrind.err
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment