]> git.ipfire.org Git - thirdparty/autoconf.git/commit
testsuite: log version of shell and make as well
authorZack Weinberg <zack@owlfolio.org>
Fri, 1 Dec 2023 13:44:55 +0000 (08:44 -0500)
committerZack Weinberg <zack@owlfolio.org>
Fri, 1 Dec 2023 13:44:55 +0000 (08:44 -0500)
commit481dad1d7437e17a153fd0176176980481609e61
tree512047a80f527aee387669c776e0ff9850e9802c
parent544875cc6e9599e6a36706203f51922f12310b9c
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.
tests/local.at