bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: local.at


From: Akim Demaille
Subject: FYI: local.at
Date: Mon, 25 Aug 2003 09:17:59 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        Tune local.at so that people can "autom4te -l autotest calc.at -o
        calc" for instance, to extract a sub test suite.

        * tests/testsuite.at: Move the initialization, Autotest version
        requirement, and AT_TESTED invocation into...
        * tests/local.at: here.
        * tests/testsuite.at: Include it for compatibility with Autoconf
        2.57.
        * tests/Makefile.am ($(TESTSUITE)): Report that the warning should
        be ignore.

Index: tests/Makefile.am
===================================================================
RCS file: /cvsroot/bison/bison/tests/Makefile.am,v
retrieving revision 1.31
diff -u -u -r1.31 Makefile.am
--- tests/Makefile.am 2 Mar 2003 11:14:07 -0000 1.31
+++ tests/Makefile.am 25 Aug 2003 07:14:43 -0000
@@ -55,6 +55,7 @@
 
 AUTOTEST = $(AUTOM4TE) --language=autotest
 $(TESTSUITE): package.m4 $(TESTSUITE_AT)
+       echo "WARNING: Multiple inclusion warning should be ignored." >&2
        $(AUTOTEST) -I $(srcdir) testsuite.at -o address@hidden
        mv address@hidden $@
 
Index: tests/local.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/local.at,v
retrieving revision 1.2
diff -u -u -r1.2 local.at
--- tests/local.at 2 Jun 2003 07:26:17 -0000 1.2
+++ tests/local.at 25 Aug 2003 07:14:43 -0000
@@ -18,6 +18,9 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# We want a recent Autotest.
+m4_version_prereq([2.57])
+
 
 ## ------------------------------- ##
 ## Macros decoding Bison options.  ##
@@ -190,3 +193,14 @@
 # So that we can run `./testsuite PREPARSER='valgrind -q' for instance.
 m4_define([AT_PARSER_CHECK],
 [AT_CHECK([$PREPARSER $1], [$2], [$3], [$4])])
+
+
+
+
+## ----------------------- ##
+## Launch the test suite.  ##
+## ----------------------- ##
+
+AT_INIT
+
+AT_TESTED([bison])
Index: tests/testsuite.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/testsuite.at,v
retrieving revision 1.23
diff -u -u -r1.23 testsuite.at
--- tests/testsuite.at 2 Mar 2003 11:14:07 -0000 1.23
+++ tests/testsuite.at 25 Aug 2003 07:14:43 -0000
@@ -18,15 +18,11 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
-# We want a recent Autotest.
-m4_version_prereq([2.57])
+# Initializes Autotest, imports macros etc.  It will trigger a warning
+# with Autoconf 2.58, because it includes this file automatically, but
+# it causes no real problem.
+m4_include([input.at])
 
-# Helping macros.
-m4_include([local.at])
-
-AT_INIT
-
-AT_TESTED([bison])
 
 # Testing resistance to user bugs.
 m4_include([input.at])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]