emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#18929: closed (feature: output test failures to st


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#18929: closed (feature: output test failures to stdout)
Date: Mon, 03 Nov 2014 16:35:02 +0000

Your message dated Mon, 03 Nov 2014 16:34:00 +0000
with message-id <address@hidden>
and subject line Re: bug#18929: feature: output test failures to stdout
has caused the debbugs.gnu.org bug report #18929,
regarding feature: output test failures to stdout
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
18929: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18929
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 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


--- End Message ---
--- Begin Message --- Subject: Re: bug#18929: feature: output test failures to stdout Date: Mon, 03 Nov 2014 16:34:00 +0000 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.1.2
Control: 

On 03/11/14 16:00, Nick Bowler wrote:
> On 2014-11-02 20:21 +0000, Ximin Luo wrote:
>> Please have automake automatically dump test logs to stdout for all
>> tests that did not pass.
> 
> This feature already exists, and is enabled by setting VERBOSE in the
> environment.  For example,
> 
>   VERBOSE=true make check
> 

You're right, this works fine for what I need. I managed to confuse myself by 
misunderstanding the previously quoted email thread. Sorry for the noise.

X

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

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

reply via email to

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