On 08/05/14 19:19, Dimitri John Ledkov wrote:
> On 8 May 2014 18:10, Marcin Owsiany <porri...@debian.org> wrote:
>> Does anyone know a way to make the automake-generated test suite scripts cat
>> the test-suite.log to stderr on failure? It just reports which tests failed 
>> but
>> hides the actual messages. This is most annoying on buildds which then 
>> promptly
>> remove the whole build dir, and one has to then tediously find a porter box,
>> set up schroot, fetch the package, install build-deps, run the build and then
>> finally manually cat the log. Example:
> 
> override_dh_auto_test:
> ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
>         dh_auto_build -- -k check || { RET=$$?; find . -name
> "test-suite.log" -exec cat {} + ; exit $$RET;}
> endif
> 

Much easier:

make check V=1

Emilio


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/536bbe04.5080...@gmail.com

Reply via email to