Bug#901080: libtest-differences-perl: FTBFS with Perl 5.28: t/column-headers.t failure with verbose tests
gregor herrmann
gregoa at debian.org
Fri Jun 8 22:23:04 BST 2018
Control: tag -1 + confirmed patch
On Fri, 08 Jun 2018 21:28:37 +0300, Niko Tyni wrote:
> Source: libtest-differences-perl
> Version: 0.64-1
> Severity: important
> User: debian-perl at lists.debian.org
> Usertags: perl-5.28-transition
>
> This package fails to build with perl 5.28.0-RC1 (currently in
> experimental).
>
> http://perl.debian.net/rebuild-logs/perl-5.28-throwaway/libtest-differences-perl_0.64-1/libtest-differences-perl_0.64-1_amd64-2018-06-08T17:52:42Z.build
>
> This seems to be related to verbose test output.
>
> $ prove -b t/column-headers.t
> t/column-headers.t .. ok
> All tests successful.
> Files=1, Tests=2, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.13 cusr 0.02 csys = 0.17 CPU)
> Result: PASS
>
> $ prove -v -b t/column-headers.t
> t/column-headers.t ..
> not ok 1 - got expected error output
> # Failed test 'got expected error output'
> # at t/column-headers.t line 14.
> # got: '# Failed test 'both the same'
> # # at t/script/default-headers line 8.
> # # +----+----------------+----------------+
> # # | Elt|Got |Expected |
> # # +----+----------------+----------------+
> # # | 0|{ |{ |
> # # * 1| foo => 'bar' | foo => 'baz' *
> # # | 2|} |} |
> # # +----+----------------+----------------+
> # # Looks like you failed 1 test of 1.
> # '
> # expected: '
> # # Failed test 'both the same'
> # # at t/script/default-headers line 8.
> # # +----+----------------+----------------+
> # # | Elt|Got |Expected |
> # # +----+----------------+----------------+
> # # | 0|{ |{ |
> # # * 1| foo => 'bar' | foo => 'baz' *
> # # | 2|} |} |
> # # +----+----------------+----------------+
> # # Looks like you failed 1 test of 1.
> # '
Confirmed, both the failure and the correlation with test verbosity.
The following "fixes" the issue:
#v+
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,6 @@
#!/usr/bin/make -f
%:
dh $@
+
+override_dh_auto_test:
+ dh_auto_test -- --verbose 0
#v-
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`- NP: U2: Sunday Bloody Sunday
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20180608/d85197b5/attachment-0001.sig>
More information about the pkg-perl-maintainers
mailing list