mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
tests: don't duplicate the portability prologue
* tests/actions.at, tests/input.at: Don't repeat the prologue, skip it. * tests/diagnostics.at, tests/local.at: Comment changes.
This commit is contained in:
@@ -2590,16 +2590,8 @@ AT_CHECK([diff input.y.orig input.y~])
|
||||
AT_CHECK([test ! -f output.c])
|
||||
|
||||
# Check the update.
|
||||
AT_CHECK([cat input.y], [],
|
||||
[[%code top {
|
||||
/* Load config.h, and adjust to the compiler.
|
||||
We used to do it here, but each time we add a new line,
|
||||
we have to adjust all the line numbers in error messages.
|
||||
It's simpler to use a constant include to a varying file. */
|
||||
#include <testsuite.h>
|
||||
}
|
||||
|
||||
|
||||
AT_CHECK([sed -e '1,8d' input.y], [],
|
||||
[[
|
||||
%default-prec
|
||||
%define parse.error verbose
|
||||
%expect-rr 0
|
||||
|
||||
Reference in New Issue
Block a user