Hi,

Please have automake automatically dump test logs to stdout for all tests that 
did not pass.

This is becoming more and more important, especially with public CI services 
like jenkins/travis that retain the stdout/stderr of a build, but not the files 
generated because this would take up a lot more resources. This can cause 
frustration when build failures occur with no useful debugging information, for 
example: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765156

This was previous brought up in the mailing list here: 
https://lists.gnu.org/archive/html/automake/2013-06/msg00051.html

but the solution given is not a very good one for the users of automake (i.e. 
software developers). It's quite a lot of code to remember, and getting it to 
work correctly is not obvious. (The solution in that email is a very incomplete 
solution.) For example, simply overriding check as follows:

check: check-am
        cat test-suite.log

does not do the right thing - the log is only output *if the tests all passed*. 
However, we only really want to see the log if *any test failed*. It is not 
obvious how to get this working, so automake should do it automatically instead 
of expecting every user to do it.

X

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to