Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
e8a0fbc9
Commit
e8a0fbc9
authored
Dec 30, 2003
by
Alexandre Duret-Lutz
Browse files
* src/ltltest/defs.in (run): Reun valgrind with --leak-check=yes.
* src/ltlparse/ltlparse.yy: Add `%destructor's.
parent
6f88e518
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
e8a0fbc9
2003-12-30 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/ltltest/defs.in (run): Reun valgrind with --leak-check=yes.
* src/ltlparse/ltlparse.yy: Add `%destructor's.
2003-12-29 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/ltltest/defs.in (run): New function, run valgrind.
...
...
src/ltlparse/ltlparse.yy
View file @
e8a0fbc9
...
...
@@ -79,6 +79,9 @@ using namespace spot::ltl;
%type <ltl> result ltl_formula subformula
%destructor { delete $$; } ATOMIC_PROP
%destructor { spot::ltl::destroy($$); } result ltl_formula subformula
%%
result: ltl_formula END_OF_INPUT
{ result = $$ = $1;
...
...
src/ltltest/defs.in
View file @
e8a0fbc9
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment