From edbc5693ae1f4146e5f4ff23c9d891e57197121f Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Tue, 8 Dec 2020 11:14:19 -0500 Subject: [PATCH] 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]). --- tests/atlocal.in | 1 + tests/local.at | 3 +++ 2 files changed, 4 insertions(+) diff --git a/tests/atlocal.in b/tests/atlocal.in index 3c436cd93..241e3030f 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 6062bcfad..536f9a54a 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 -- 2.47.3