mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
* tests/calc.at: Catch up with 1.30.
* configure.in: Bump to 1.49a. Adjust to newer Autotest.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
## 02111-1307, USA.
|
||||
|
||||
EXTRA_DIST = atlocal.in $(TESTSUITE_AT) testsuite
|
||||
EXTRA_DIST = $(TESTSUITE_AT) testsuite
|
||||
|
||||
DISTCLEANFILES = atconfig atlocal bison package.m4
|
||||
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
|
||||
@@ -37,9 +37,6 @@ $(srcdir)/$(TESTSUITE): $(TESTSUITE_AT)
|
||||
atconfig: $(top_builddir)/config.status
|
||||
cd $(top_builddir) && ./config.status tests/$@
|
||||
|
||||
atlocal: $(srcdir)/atlocal.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && ./config.status tests/$@
|
||||
|
||||
clean-local:
|
||||
$(SHELL) $(TESTSUITE) --clean
|
||||
|
||||
|
||||
@@ -256,8 +256,8 @@ main (int argc, const char **argv)
|
||||
# Produce `calc.y'.
|
||||
m4_define([AT_DATA_CALC_Y],
|
||||
[_AT_DATA_CALC_Y($[1], $[2], $[3],
|
||||
[m4_match([$1], [--yyerror-verbose],
|
||||
[[#define YYERROR_VERBOSE 1]])])])
|
||||
[m4_bmatch([$1], [--yyerror-verbose],
|
||||
[[#define YYERROR_VERBOSE]])])])
|
||||
|
||||
|
||||
|
||||
@@ -338,7 +338,7 @@ AT_CHECK([bison calc.y -o calc.c m4_bpatsubst([$1], [--yyerror-verbose])],
|
||||
# warnings, but this place is not the right one for that.
|
||||
# So let's keep only GCC warnings, which we know are sane.
|
||||
AT_CHECK([$CC $CFLAGS $CPPFLAGS calc.c -o calc], 0, [], [stderr])
|
||||
AT_CHECK([test "$GCC" = yes && cat stderr])
|
||||
AT_CHECK([if test "$GCC" = yes; then cat stderr; else true; fi])
|
||||
|
||||
# Test the priorities.
|
||||
_AT_CHECK_CALC([$1],
|
||||
|
||||
Reference in New Issue
Block a user