mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +00:00
* tests/local.at (AT_PARSER_CHECK): Add a PRE argument to specify a
command-line prefix. * tests/torture.at (Exploding the Stack Size with Alloca): Stderr is ignored, so use that PRE to set --log-fd=1 in VALGRIND_OPTS so we don't miss Valgrind messages. (Exploding the Stack Size with Malloc): Likewise.
This commit is contained in:
@@ -198,11 +198,11 @@ AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS m4_bmatch([$1], [[.]], [], [$LDFLAGS ])-o $1
|
||||
## Running a generated parser. ##
|
||||
## ---------------------------- ##
|
||||
|
||||
# AT_PARSER_CHECK(COMMAND, EXIT-STATUS, EXPOUT, EXPERR)
|
||||
# -----------------------------------------------------
|
||||
# AT_PARSER_CHECK(COMMAND, EXIT-STATUS, EXPOUT, EXPERR, [PRE])
|
||||
# ------------------------------------------------------------
|
||||
# So that we can run `./testsuite PREPARSER='valgrind -q' for instance.
|
||||
m4_define([AT_PARSER_CHECK],
|
||||
[AT_CHECK([$PREPARSER $1], [$2], [$3], [$4])])
|
||||
[AT_CHECK([$5 $PREPARSER $1], [$2], [$3], [$4])])
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user