* src/ltltest/defs.in (run): Reun valgrind with --leak-check=yes.

* src/ltlparse/ltlparse.yy: Add `%destructor's.
This commit is contained in:
Alexandre Duret-Lutz 2003-12-30 12:56:05 +00:00
parent 6f88e518a9
commit e8a0fbc9a7
3 changed files with 9 additions and 2 deletions

View file

@ -55,9 +55,8 @@ run()
exitcode=0
if test -n "$VALGRIND"; then
exec 6>valgrind.err
# No --leak-check=yes for now, as it causes parserr.test to fail.
GLIBCPP_FORCE_NEW=1 \
$VALGRIND --logfile-fd=6 -q "$@" || exitcode=$?
$VALGRIND --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