autoconf/tests/suite.at
Akim Demaille 01bbecaa0a * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
the AC_CONFIG_COMMANDS invocation.
This also solves the name clash problems.
Don't set the package's ID.
* lib/m4sugar/Makefile.am (version.m4): Revamp.
No longer to be shipped.
(version.in): Remove.
* lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
* lib/autoconf/status.m4: Adjust.
Use `m4_PACKAGE_STRING'.
* lib/autotest/general.m4 (AT_INIT): N-th signature change: now
the only optional argument is the name of the test suite.
Expect `package.m4' to define the package signature.
* lib/autom4te.in (Autotest): Add `package.m4?'.
* tests/Makefile.am (package.m4): New.
* tests/suite.at: ifnames is a victim.
2001-09-18 09:03:18 +00:00

85 lines
2.6 KiB
Plaintext

# Validation suite for Autoconf -*- Autotest -*-
# Copyright 2000, 2001 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
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# 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.52d])
# Macros specialized for Autoconf testing.
m4_include([atspecific.m4])
AT_VICTIMS([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.
# The executables.
# Even the tests on M4sugar and M4sh use `autoconf', so check it first.
m4_include([tools.at])
# M4sugar.
m4_include([m4sugar.at])
# M4sh.m4.
m4_include([m4sh.at])
# Autoconf base macros.
m4_include([base.at])
# Testing config.status
# ---------------------
# Actually should be named config.status.at but I fear problems with
# the name. Does no `checking...' at all, but exercises only code
# which following section use too. Hence, run it first.
m4_include([torture.at])
# Checking AC_PROG_CC, AC_COMPILE_IFELSE etc.
m4_include([compile.at])
# Language support.
m4_include([aclang.at])
m4_include([acc.at])
m4_include([acfortran.at])
# Checking that AC_CHECK_FOO macros work properly.
m4_include([semantics.at])
# Blind testing the macros.
# Include them as is suggested for a `configure.ac', as looking for
# for types requires looking for headers etc.
m4_include([acgeneral.at])
m4_include([acstatus.at])
m4_include([acautoheader.at])
m4_include([acautoupdate.at])
m4_include([acspecific.at])
m4_include([acprograms.at])
m4_include([acheaders.at])
m4_include([actypes.at])
m4_include([acfunctions.at])
m4_include([aclibs.at])
# Compatibility with foreign tools.
m4_include([foreign.at])