mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 00:33:03 +00:00
cex: tests: be robust to variations in time limit reports
The CI has "failures" such as (253, "Null nonterminals"):
@@ -21,7 +21,7 @@
3: 3 b: . %empty
3: 4 c: . %empty
On Symbols: {A,}
-time limit exceeded: 6.000000
+time limit exceeded: 11.000000
First Example c • c A A $end
First derivation $accept ::=[ a ::=[ c d ::=[ a ::=[ b ::=[ • ] d ::=[ c A A ] ] ] ] $end ]
Second Example c • A $end
* tests/counterexample.at (AT_BISON_CHECK_CEX): New.
Use it to neutralize differences in timeout values.
This commit is contained in:
@@ -1102,7 +1102,7 @@ m4_define([AT_BISON_CHECK_WARNINGS_],
|
||||
# added after the grammar file name, so skip these checks in that
|
||||
# case.
|
||||
if test "$POSIXLY_CORRECT_IS_EXPORTED" = false; then
|
||||
]AT_SAVE_SPECIAL_FILES[
|
||||
]AT_SAVE_SPECIAL_FILES[
|
||||
|
||||
# To avoid expanding it repeatedly, store specified stdout.
|
||||
]AT_DATA([expout], [$3])[
|
||||
|
||||
Reference in New Issue
Block a user