summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2020-12-08 11:14:19 -0500
committerZack Weinberg <zackw@panix.com>2020-12-08 11:14:19 -0500
commitedbc5693ae1f4146e5f4ff23c9d891e57197121f (patch)
treecdf4ee50608f2149900465013e27b6330558d0bb
parent3f75cfc92744bac819b65164169258877ea10475 (diff)
downloadautoconf-edbc5693ae1f4146e5f4ff23c9d891e57197121f.tar.gz
testsuite: log version of M4 and Perl
Jannick reported problems on OSX for which the most plausible explanation is that the system-provided M4 is emitting error messages with different line numbers than we expect, perhaps because Apple froze their copy of GNU M4 to the last GPLv2 release. To test this hypothesis, add $PERL and $M4 to AT_TESTED in our testsuite. * tests/atlocal.in: Also set $M4 from configure. * tests/local.at: Add AT_TESTED([$PERL $M4]).
-rw-r--r--tests/atlocal.in1
-rw-r--r--tests/local.at3
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 3c436cd9..241e3030 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -21,6 +21,7 @@
AWK='@AWK@'
EGREP='@EGREP@'
GREP='@GREP@'
+M4='@M4@'
PERL='@PERL@'
SED='@SED@'
diff --git a/tests/local.at b/tests/local.at
index 6062bcfa..536f9a54 100644
--- a/tests/local.at
+++ b/tests/local.at
@@ -24,6 +24,9 @@ m4_pattern_allow([^m4_(define|shift)$])
# Programs this package provides
AT_TESTED([autom4te autoconf autoheader autoupdate autoreconf ifnames])
+# System-provided programs that this package relies on
+AT_TESTED([$PERL $M4])
+
# Enable colored test output.
AT_COLOR_TESTS