[debhelper-devel] Bug#798648: debhelper: Run make check VERBOSE=1 when using autoconf

Gergely Nagy algernon at madhouse-project.org
Fri Sep 11 12:43:12 UTC 2015


Package: debhelper
Version: 9.20150811
Severity: wishlist
Tags: patch

automake, for some time, uses a test runner that records test output and
whatnot in a file. Upon test suite failure, it will - by default - not
display the contents of that file, just point at it. This makes build
logs considerably less useful when it comes to discovering test
failures.

Thankfully, passing VERBOSE=1 (which is different from V=1 or
--disable-silent-rules!) to make when doing `make check` solves this
problem, because that tells automake to display the contents of its test
log file when the suite fails.

Attached is a patch (against debhelper master, as of this writing) that
changes the autoconf part of dh_auto_test to also handle the test stage
(provided configure exists in the sourcedir, and Makefile in the
builddir), and does the same as the parent class would, except it also
adds VERBOSE=1 to the command line.

It should have no ill side-effects, as far as I see.

(The test suite was also updated & extended)

-- 
|8]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dh_auto_test-Add-VERBOSE-1-when-using-autoconf.patch
Type: text/x-diff
Size: 4214 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20150911/5936c441/attachment-0001.patch>


More information about the debhelper-devel mailing list