From 405d53b7248b3142841cc0bae60b21b79721f4e4 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Sat, 11 Nov 2006 04:12:48 +0000 Subject: [PATCH 1/1] * tests/testsuite.at (AT_CHECK): Don't miss an exit value of 0 because it was double-quoted. --- ChangeLog | 2 ++ tests/testsuite.at | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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. -- 2.45.2