Home | History | Annotate | Download | only in tests

Lines Matching full:bison

3 # Macros for the GNU Bison Test suite.
56 test ! -f at-bison-check-$at_save_file.bak ||
58 test ! -f $at_save_file || mv $at_save_file at-bison-check-$at_save_file.bak
66 test ! -f at-bison-check-$at_save_file.bak ||
67 mv at-bison-check-$at_save_file.bak $at_save_file
78 ## Macros decoding Bison options. ##
101 # AT_BISON_OPTION_PUSHDEFS([BISON-OPTIONS])
108 # _AT_BISON_OPTION_PUSHDEFS($1, $2, [BISON-OPTIONS])
424 ## Running Bison. ##
429 # High-level routine that may call bison several times, under different
432 # Check Bison by invoking `bison BISON_ARGS'. BISON_ARGS should not contain
434 # appending additional command-line arguments for bison. OTHER_AT_CHECK_ARGS
438 # Bison in the test suite. For now it ensures that:
440 # 1. Valgrind doesn't report reachable memory when Bison is expected to have
441 # a non-zero exit status since Bison doesn't always try to free all memory
456 [[bison: warnings being treated as errors]])
461 # Low-level macro to run bison once.
463 [AT_CHECK(AT_QUELL_VALGRIND[[ bison ]]$@)])
475 [[# Defining POSIXLY_CORRECT causes bison to complain if options are
489 ]AT_DATA([[at-bison-check-warnings]], [$4])[
491 '/: warning: /{=;q;}' at-bison-check-warnings`
494 '/conflicts: [0-9].*reduce$/{=;q;}' at-bison-check-warnings`
501 at-bison-check-warnings > experr
506 # complaints cause bison to exit early. Thus, with -Werror, bison
513 at-bison-check-warnings >> experr
537 [AT_CHECK(m4_null_if([$2], [], [AT_QUELL_VALGRIND ])[[bison ]]$@)
543 # defined. It doesn't make sense to invoke this macro if Bison is expected to
554 # Don't combine these Bison invocations since we want to be sure that
564 `]]AT_QUELL_VALGRIND[[ bison --print-datadir`/xslt/xml2text.xsl \
568 `]]AT_QUELL_VALGRIND[[ bison --print-datadir`/xslt/xml2dot.xsl \
576 # Put this before a Bison invocation to keep Valgrind from complaining about
754 # BISON-STDERR, TABLES-OR-LAST-STATE,
771 # If TEST-SPEC contains the attribute no-xml, then invoke bison using
772 # AT_BISON_CHECK_NO_XML. Otherwise, invoke bison using AT_BISON_CHECK.
773 # On the bison command-line, specify `--report=all --defines'. Check
774 # that Bison exits with value 0, has no stdout, and has stderr
775 # BISON-STDERR.
926 AT_TESTED([bison])