From: Zack Weinberg Date: Fri, 1 Dec 2023 13:44:55 +0000 (-0500) Subject: testsuite: log version of shell and make as well X-Git-Tag: v2.72e~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=481dad1d7437e17a153fd0176176980481609e61;p=thirdparty%2Fautoconf.git testsuite: log version of shell and make as well A lot of bugs recently have been due to unexpected changes in shell and/or make behavior, so let’s log their versions in testsuite.log to make it easier to figure out when that’s the problem. Some shells don’t recognize --version but we still get an indication in the logfile of which shell it is, e.g. $ make check TESTSUITEFLAGS=1 SHELL=/bin/dash; grep dash tests/testsuite.log ../../tests/local.at:25: /bin/dash --version /bin/dash: 0: Illegal option -- * tests/local.at: Add ${CONFIG_SHELL-$SHELL} and $MAKE to AT_TESTED. --- diff --git a/tests/local.at b/tests/local.at index db49f84a9..7265a090f 100644 --- a/tests/local.at +++ b/tests/local.at @@ -25,7 +25,7 @@ m4_pattern_allow([^m4_(define|shift)$]) AT_TESTED([autom4te autoconf autoheader autoupdate autoreconf ifnames]) # System-provided programs that this package relies on -AT_TESTED([$PERL $M4]) +AT_TESTED([$M4 $PERL ${CONFIG_SHELL-$SHELL} $MAKE]) # Enable colored test output. AT_COLOR_TESTS