Bug#1132812: licensecheck: Test suite fails if VERBOSE=1 is set
Tim Landscheidt
tim at tim-landscheidt.de
Mon Apr 6 00:23:43 BST 2026
Package: licensecheck
Version: 3.3.9-1
Severity: minor
Tags: patch
Fedora's RPM macros provide a macro %make_build which
expands to "make -O -j4 V=1 VERBOSE=1". If licensecheck's
test suite is invoked with these options, it will fail as
the VERBOSE environment variable causes
Log::Any::Adapter::Screen to include more logging in the
output than the test suite expects.
The attached patch fixes this by unsetting the environment
variables NO_COLOR, COLOR, LOG_PREFIX, LOG_LEVEL, QUIET,
VERBOSE, DEBUG and TRACE before testing licensecheck.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: licensecheck-fix-testsuite.patch
Type: text/x-patch
Size: 1667 bytes
Desc: Patch to guard test suite against set logging environment variables
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20260405/9c5d4c7b/attachment.bin>
More information about the pkg-perl-maintainers
mailing list