* lib/autom4te.cfg (args): Add local.at? for Autotest args.
* tests/atspecific.m4: Rename as...
* tests/local.at: This.
* tests/suite.at: Move the globals into...
* tests/local.at: here.
* tests/Makefile.am: Adjust.
* doc/autoconf.texi (testsuite Scripts): Adjust.
+2003-06-23 Akim Demaille <akim@epita.fr>
+
+ * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
+ * lib/autom4te.cfg (args): Add local.at? for Autotest args.
+ * tests/atspecific.m4: Rename as...
+ * tests/local.at: This.
+ * tests/suite.at: Move the globals into...
+ * tests/local.at: here.
+ * tests/Makefile.am: Adjust.
+ * doc/autoconf.texi (testsuite Scripts): Adjust.
+
2003-06-21 Kevin Ryde <user42@zip.com.au>
* lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
* Major changes in Autoconf 2.57b -*- outline -*-
+** Autotest and local.at
+ The optional file local.at is always included in Autotest test suites.
+
* Major changes in Autoconf 2.57a
Released 2003-06-20 by Akim Demaille.
files. The special file @file{package.m4}, containing the
identification of the package, is automatically included if found.
+A convenient alternative consists in moving all the global issues
+(local Autotest macros, elementary health checking, and @code{AT_INIT}
+invocation) into the file @code{local.at}, and making
+@file{testsuite.at} be a simple list of @code{m4_include} of sub test
+suites. In such case, generating the whole test suite or pieces of it
+is only a matter of choosing the @command{autom4te} command line
+arguments.
+
The validation scripts that Autotest produces are by convention called
@command{testsuite}. When run, @command{testsuite} executes each test
group in turn, producing only one summary line per test to say if that
Files used in preparing a software package for distribution:
@example
-subfile-1.at ->.
- ... \
-subfile-i.at ---->-- testsuite.at -->.
- ... / \
-subfile-n.at ->' >-- autom4te* -->testsuite
- /
- [package.m4] ->'
+ [package.m4] -->.
+ \
+subfile-1.at ->. [local.at] ---->+
+ ... \ \
+subfile-i.at ---->-- testsuite.at -->-- autom4te* -->testsuite
+ ... /
+subfile-n.at ->'
@end example
@noindent
## Process this file with automake to create Makefile.in. -*-Makefile-*-
## Makefile for Autoconf testsuite.
-## Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+## Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
# We don't actually distribute the testsuite, since one only
# needs m4 to build it, m4 being required anyway to install Autoconf.
-EXTRA_DIST = $(TESTSUITE_AT) atspecific.m4 mktests.sh \
+EXTRA_DIST = $(TESTSUITE_AT) local.at mktests.sh \
atlocal.in package.m4 wrapper.as
# Running the uninstalled scripts.
# we are allowed to use it (since we ship it).
AUTOTEST = ./autom4te --language=autotest
$(TESTSUITE): $(srcdir)/package.m4 \
- atspecific.m4 \
+ local.at \
$(TESTSUITE_AT) \
$(autotest_m4f_dependencies)
$(AUTOTEST) -I $(srcdir) suite.at -o $@.tmp
# We don't actually distribute the testsuite, since one only
# needs m4 to build it, m4 being required anyway to install Autoconf.
-EXTRA_DIST = $(TESTSUITE_AT) atspecific.m4 mktests.sh \
+EXTRA_DIST = $(TESTSUITE_AT) local.at mktests.sh \
atlocal.in package.m4 wrapper.as
$(srcdir)/wrapper.in: $(srcdir)/wrapper.as
./autom4te --language=M4sh $(srcdir)/wrapper.as -o $@
$(TESTSUITE): $(srcdir)/package.m4 \
- atspecific.m4 \
+ local.at \
$(TESTSUITE_AT) \
$(autotest_m4f_dependencies)
$(AUTOTEST) -I $(srcdir) suite.at -o $@.tmp
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/c macros.])
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/fortran macros.])
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/functions macros.])
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/general macros.])
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/headers macros.])
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/lang macros.])
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/libs macros.])
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/programs macros.])
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/specific macros.])
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/status macros.])
# Generated by mktests.sh, do not edit by hand. -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/types macros.])
AT_BANNER([Autoconf base layer.])
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
AT_BANNER([Low level compiling/preprocessing macros.])
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
AT_BANNER([Fortran low level compiling/preprocessing macros.])
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
+# We need a very up to date version of Autotest.
+m4_version_prereq([2.53])
+
+# Used in many tests.
+m4_pattern_allow([^AS_EXIT$])
+m4_pattern_allow([^m4_(define|shift)$])
+
+AT_TESTED([autom4te autoconf autoheader autoupdate autoreconf ifnames])
## ------------------ ##
## Testing autom4te. ##
AT_CLEANUP()dnl
])# AT_CHECK_UPDATE
+
+
+
+## ----------------------- ##
+## Launch the test suite. ##
+## ----------------------- ##
+
+AT_INIT
+
AT_BANNER([M4sh.])
-# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
-# Used in many tests.
-m4_pattern_allow([^AS_EXIT$])
-
## ---------------- ##
## LINENO support. ##
## ---------------- ##
{
sed 's/^ *//' <<MK_EOF
# Generated by $as_me, do not edit by hand. -*- Autotest -*-
- # Copyright 2000, 2001 Free Software Foundation, Inc.
+ # Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
AT_BANNER([Testing autoconf/$base macros.])
# Validation suite for Autoconf -*- Autotest -*-
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
-# We need a very up to date version of Autotest.
-m4_version_prereq([2.53])
-
-# Macros specialized for Autoconf testing.
-m4_include([atspecific.m4])
-
-AT_TESTED([autom4te autoconf autoheader autoupdate autoreconf ifnames])
-
-# Still many parts of `autoconf' are not exercised by the test suite. A few
-# FIXME's, below, are used to list tests that we would need. Do you feel
-# like contributing new tests? If you do, you may tell your intent to
-# `autoconf@gnu.org', so no two people work at the same thing.
-
-AT_INIT
-
# Run the tests from the lowest level to the highest level, and from
# the most selective to the easiest.
AT_BANNER([Executables (autoheader, autoupdate...).])
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# -----------------------------
AT_SETUP([autoconf --trace: user macros])
-
-m4_pattern_allow([^m4_(define|shift)$])
AT_DATA([configure.ac],
[[m4_define([active], [ACTIVE])
m4_define([TRACE1], [TRACE2(m4_shift($@))])