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:
Akim Demaille
2019-05-03 08:58:59 +02:00
parent 013720f0e7
commit b5233ba323
4 changed files with 10 additions and 24 deletions

View File

@@ -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