X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/62b08cfcd72cfd74c22080733d0156122ab27a15..d508c2816f6f0a3f44a1ff5d6526585c10826950:/tests/calc.at diff --git a/tests/calc.at b/tests/calc.at index ca7cc95d..316f71ad 100644 --- a/tests/calc.at +++ b/tests/calc.at @@ -340,12 +340,14 @@ m4_define([AT_DATA_CALC_Y], -# _AT_CHECK_CALC(BISON-OPTIONS, INPUT, [NUM-STDERR-LINES = 0]) -# ------------------------------------------------------------ +# _AT_CHECK_CALC(BISON-OPTIONS, INPUT, [NUM-STDERR-LINES]) +# -------------------------------------------------------- # Run `calc' on INPUT and expect no STDOUT nor STDERR. # # If BISON-OPTIONS contains `%debug' but not `%glr-parser', then +# # NUM-STDERR-LINES is the number of expected lines on stderr. +# Currently this is ignored, though, since the output format is fluctuating. # # We don't count GLR's traces yet, since its traces are somewhat # different from LALR's. @@ -354,17 +356,11 @@ m4_define([_AT_CHECK_CALC], [[$2 ]]) AT_PARSER_CHECK([./calc input], 0, [], [stderr]) -m4_bmatch([$1], - [%debug.*%glr\|%glr.*%debug], - [], - [%debug], - [AT_CHECK([wc -l