| 1 |
# Validation suite for Autoconf -*- Autotest -*- |
| 2 |
|
| 3 |
# Copyright (C) 2000-2001, 2003-2005, 2009-2017, 2020-2026 Free Software |
| 4 |
# Foundation, Inc. |
| 5 |
# |
| 6 |
# This program is free software: you can redistribute it and/or modify |
| 7 |
# it under the terms of the GNU General Public License as published by |
| 8 |
# the Free Software Foundation, either version 3 of the License, or |
| 9 |
# (at your option) any later version. |
| 10 |
# |
| 11 |
# This program is distributed in the hope that it will be useful, |
| 12 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
# GNU General Public License for more details. |
| 15 |
# |
| 16 |
# You should have received a copy of the GNU General Public License |
| 17 |
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 18 |
|
| 19 |
# Run the tests from the lowest level to the highest level, and from |
| 20 |
# the most selective to the easiest. |
| 21 |
|
| 22 |
# The executables. |
| 23 |
# Even the tests on M4sugar and M4sh use 'autoconf', so check it first. |
| 24 |
m4_include([tools.at]) |
| 25 |
|
| 26 |
# M4sugar. |
| 27 |
m4_include([m4sugar.at]) |
| 28 |
|
| 29 |
# M4sh.m4. |
| 30 |
m4_include([m4sh.at]) |
| 31 |
|
| 32 |
# Autotest. |
| 33 |
m4_include([autotest.at]) |
| 34 |
|
| 35 |
# Autoconf base macros. |
| 36 |
m4_include([base.at]) |
| 37 |
|
| 38 |
# Testing config.status |
| 39 |
# --------------------- |
| 40 |
# Actually should be named config.status.at but I fear problems with |
| 41 |
# the name. Does no 'checking ...' at all, but exercises only code |
| 42 |
# which following section use too. Hence, run it first. |
| 43 |
m4_include([torture.at]) |
| 44 |
|
| 45 |
# Checking AC_PROG_CC, AC_COMPILE_IFELSE etc. |
| 46 |
m4_include([compile.at]) |
| 47 |
|
| 48 |
# Language support. |
| 49 |
m4_include([aclang.at]) |
| 50 |
m4_include([c.at]) |
| 51 |
m4_include([acc.at]) |
| 52 |
m4_include([fortran.at]) |
| 53 |
m4_include([acfortran.at]) |
| 54 |
m4_include([erlang.at]) |
| 55 |
m4_include([acerlang.at]) |
| 56 |
m4_include([go.at]) |
| 57 |
m4_include([acgo.at]) |
| 58 |
m4_include([a68.at]) |
| 59 |
m4_include([aca68.at]) |
| 60 |
|
| 61 |
# Checking that AC_CHECK_FOO macros work properly. |
| 62 |
m4_include([semantics.at]) |
| 63 |
|
| 64 |
# Blind testing the macros. |
| 65 |
# Include them as is suggested for a 'configure.ac', as looking for |
| 66 |
# for types requires looking for headers etc. |
| 67 |
m4_include([acgeneral.at]) |
| 68 |
m4_include([acstatus.at]) |
| 69 |
m4_include([acautoheader.at]) |
| 70 |
m4_include([acautoupdate.at]) |
| 71 |
m4_include([acspecific.at]) |
| 72 |
m4_include([acprograms.at]) |
| 73 |
m4_include([acheaders.at]) |
| 74 |
m4_include([actypes.at]) |
| 75 |
m4_include([acfunctions.at]) |
| 76 |
m4_include([aclibs.at]) |
| 77 |
|
| 78 |
# Compatibility with foreign tools. |
| 79 |
m4_include([foreign.at]) |
| 80 |
|
| 81 |
# Autoscan test |
| 82 |
m4_include([autoscan.at]) |