bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18929: feature: output test failures to stdout


From: Ximin Luo
Subject: bug#18929: feature: output test failures to stdout
Date: Sun, 02 Nov 2014 20:21:21 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.1.2

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

[Prev in Thread] Current Thread [Next in Thread]