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-p...@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

Attachment: signature.asc
Description: Digital Signature

Reply via email to