From: Joel E. Denny Date: Sat, 11 Nov 2006 04:12:48 +0000 (+0000) Subject: * tests/testsuite.at (AT_CHECK): Don't miss an exit value of 0 because X-Git-Tag: v2.3b~241 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/405d53b7248b3142841cc0bae60b21b79721f4e4?hp=07c39ae908c536bc00f504d9e6a7cac7c12e08ad * tests/testsuite.at (AT_CHECK): Don't miss an exit value of 0 because it was double-quoted. --- diff --git a/ChangeLog b/ChangeLog index 45a46311..b7b1f376 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-11-10 Joel E. Denny + * tests/testsuite.at (AT_CHECK): Don't miss an exit value of 0 because + it was double-quoted. * src/Makefile.am (YACC): Use --warnings=all,error so that Bison's own grammar is maintained with Bison's highest standards. * src/getargs.c: Fix some typos in Doxygen comments. diff --git a/tests/testsuite.at b/tests/testsuite.at index 1f93afdc..1607c720 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -25,7 +25,7 @@ m4_pushdef([ORIGINAL_AT_CHECK], m4_defn([AT_CHECK])) m4_pushdef([AT_CHECK], [ORIGINAL_AT_CHECK( m4_if(m4_quote(m4_substr(m4_quote($1), 0, 5)), [bison], - m4_if([$2], [0], [], [$2], [], [], + m4_if(m4_quote($2), [0], [], m4_quote($2), [], [], [[VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; ]]))$@)]) # Testing resistance to user bugs.