* src/tgbatest/defs.in (VALGRIND): Use --log-fd instead of

--logfile-fd to please newer versions of Valgrind.
* src/ltltest/defs.in, src/evtgbatest/defs.in: Likewise.
This commit is contained in:
Alexandre Duret-Lutz 2006-01-03 14:42:53 +00:00
parent 89aff72523
commit b47f4ab09b
4 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2006-01-03 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbatest/defs.in (VALGRIND): Use --log-fd instead of
--logfile-fd to please newer versions of Valgrind.
* src/ltltest/defs.in, src/evtgbatest/defs.in: Likewise.
2005-09-29 Alexandre Duret-Lutz <adl@src.lip6.fr> 2005-09-29 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/ltlparse/ltlparse.yy (result): Do not assign to $$, it's useless. * src/ltlparse/ltlparse.yy (result): Do not assign to $$, it's useless.

View file

@ -1,5 +1,5 @@
# -*- shell-script -*- # -*- shell-script -*-
# Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6), # Copyright (C) 2003, 2004, 2006 Laboratoire d'Informatique de Paris 6 (LIP6),
# département Systèmes Répartis Coopératifs (SRC), Université Pierre # département Systèmes Répartis Coopératifs (SRC), Université Pierre
# et Marie Curie. # et Marie Curie.
# #
@ -60,7 +60,7 @@ run()
exec 6>valgrind.err exec 6>valgrind.err
GLIBCPP_FORCE_NEW=1 \ GLIBCPP_FORCE_NEW=1 \
../../libtool --mode=execute \ ../../libtool --mode=execute \
$VALGRIND --tool=memcheck --leak-check=yes --logfile-fd=6 -q "$@" || $VALGRIND --tool=memcheck --leak-check=yes --log-fd=6 -q "$@" ||
exitcode=$? 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

View file

@ -1,5 +1,5 @@
# -*- shell-script -*- # -*- shell-script -*-
# Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6), # Copyright (C) 2003, 2004, 2006 Laboratoire d'Informatique de Paris 6 (LIP6),
# département Systèmes Répartis Coopératifs (SRC), Université Pierre # département Systèmes Répartis Coopératifs (SRC), Université Pierre
# et Marie Curie. # et Marie Curie.
# #
@ -56,7 +56,7 @@ 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 --tool=memcheck --leak-check=yes --logfile-fd=6 -q "$@" || $VALGRIND --tool=memcheck --leak-check=yes --log-fd=6 -q "$@" ||
exitcode=$? 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

View file

@ -1,5 +1,5 @@
# -*- shell-script -*- # -*- shell-script -*-
# Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6), # Copyright (C) 2003, 2004, 2006 Laboratoire d'Informatique de Paris 6 (LIP6),
# département Systèmes Répartis Coopératifs (SRC), Université Pierre # département Systèmes Répartis Coopératifs (SRC), Université Pierre
# et Marie Curie. # et Marie Curie.
# #
@ -60,7 +60,7 @@ run()
exec 6>valgrind.err exec 6>valgrind.err
GLIBCPP_FORCE_NEW=1 \ GLIBCPP_FORCE_NEW=1 \
../../libtool --mode=execute \ ../../libtool --mode=execute \
$VALGRIND --tool=memcheck --leak-check=yes --logfile-fd=6 -q "$@" || $VALGRIND --tool=memcheck --leak-check=yes --log-fd=6 -q "$@" ||
exitcode=$? 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