X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f16b08196c780556cbf50691e2944960aebc46f6..dc450175c0cfc153b228ad503eefe65a039b46c0:/tests/testsuite.at diff --git a/tests/testsuite.at b/tests/testsuite.at index 90fb2d63..fa7d7482 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -17,15 +17,6 @@ # along with this program. If not, see . -# Bison often leaks memory when its exit status is non-zero, so set -# --leak-check=summary for Valgrind in that case. -m4_pushdef([ORIGINAL_AT_CHECK], m4_defn([AT_CHECK])) -m4_pushdef([AT_CHECK], -[ORIGINAL_AT_CHECK( - m4_if(m4_index(m4_quote($1), [bison ]), 0, - 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. m4_include([input.at]) @@ -80,6 +71,3 @@ m4_include([glr-regression.at]) # Push parsing specific tests. m4_include([push.at]) - -m4_popdef([AT_CHECK]) -m4_popdef([ORIGINAL_AT_CHECK])