* tests/testsuite.at (AT_CHECK): Don't miss an exit value of 0 because

it was double-quoted.
This commit is contained in:
Joel E. Denny
2006-11-11 04:12:48 +00:00
parent 07c39ae908
commit 405d53b724
2 changed files with 3 additions and 1 deletions

View File

@@ -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.