* 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:
parent
f84dd2e72c
commit
df75d35a5a
3 changed files with 10 additions and 2 deletions
|
|
@ -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>
|
||||
|
||||
* 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue