]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: report useful system information in 'test-suite.log'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 22 Dec 2011 09:34:28 +0000 (10:34 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 22 Dec 2011 14:32:15 +0000 (15:32 +0100)
commitfe8162b7c8fbcd4f5ac6d51127a8ef828e5e2134
tree708fba7b52e1dbff97b09785e5a3d54f1e68c211
parent9999ab731445b4eddbd917e65007731a7e3c4a95
tests: report useful system information in 'test-suite.log'

It has already happened various times that a user has run the
automake testsuite, experienced a failure, read the messages
telling him "See tests/test-suite.log" and "Please report to
bug-automake@gnu.org", and done exactly that -- sending us only
the contents of `tests/test-suite.log', which are usually not
enough to start debugging the reported failure.  So we have to
ask him for more details, and usually also for the `config.log'
file generated by configure.  It's time to fix this recurring
feedback inefficiency.  We do so by creating a dummy test case
that takes care of copying the contents of `config.log', plus
other useful system information, in the final `test-suite.log'.

* tests/get-sysconf.test: New test, gathering system information
and then always terminating with a SKIP, so that its output gets
copied in `test-suite.log'.
* tests/Makefile.am (TESTS): Add it.
ChangeLog
tests/Makefile.am
tests/get-sysconf.test [new file with mode: 0755]