Skip Menu |

This queue is for tickets about the Module-Generic CPAN distribution.

Report information
The Basics
Id: 132675
Status: resolved
Priority: 0/
Queue: Module-Generic

People
Owner: JDEGUEST [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/02.num.t failure on FreeBSD 13 (v0.12.8)
See subject. Possibly the same failure happens on FreeBSD 12: ... # Failed test 'Thousand separator' # at t/02.num.t line 113. # got: '' # expected: ',' Use of uninitialized value in string eq at (eval in cmp_ok) t/02.num.t line 114. # Failed test 'Precision' # at t/02.num.t line 114. # got: undef # expected: '2' Use of uninitialized value in string eq at (eval in cmp_ok) t/02.num.t line 121. # Failed test 'New object precision' # at t/02.num.t line 121. # got: undef # expected: '2' Use of uninitialized value $precision in int at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 520. Use of uninitialized value in numeric eq (==) at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 520. Use of uninitialized value $precision in exponentiation (**) at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 531. Use of uninitialized value in numeric gt (>) at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 624. # Failed test 'Formatting number using format()' # at t/02.num.t line 122. # got: '1281284' # expected: '1,281,284.00' Argument "" isn't numeric in int at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 520. Argument "" isn't numeric in repeat (x) at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 879. Use of uninitialized value in concatenation (.) or string at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 947. # Failed test 'Formatting money using format_money()' # at t/02.num.t line 126. Wide character in print at /usr/perl5.30.1p/lib/5.30.1/Test2/Formatter/TAP.pm line 124. # got: '1,281,284 €' # expected: '€1,281,284.00' Use of uninitialized value $precision in int at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 520. Use of uninitialized value in numeric eq (==) at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 520. Use of uninitialized value $precision in exponentiation (**) at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 531. Use of uninitialized value in numeric gt (>) at /home/cpansand/.cpan/build/2020052215/Number-Format-1.75-0/blib/lib/Number/Format.pm line 624. # Failed test 'Formatting negative number => (1,281,284.00)' # at t/02.num.t line 130. # got: '(1281284)' # expected: '(1,281,284.00)' # Looks like you failed 6 tests of 138. t/02.num.t ..... Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/138 subtests ...
Subject: t/02.num.t failure on FreeBSD 13 and Debian 10 (v0.12.8)
On 2020-05-22 11:52:34, SREZIC wrote: Show quoted text
> See subject. Possibly the same failure happens on FreeBSD 12: > > ... > # Failed test 'Thousand separator' > # at t/02.num.t line 113. > # got: '' > # expected: ',' > Use of uninitialized value in string eq at (eval in cmp_ok) t/02.num.t > line 114. > > # Failed test 'Precision' > # at t/02.num.t line 114. > # got: undef > # expected: '2' > Use of uninitialized value in string eq at (eval in cmp_ok) t/02.num.t > line 121. > > # Failed test 'New object precision' > # at t/02.num.t line 121. > # got: undef > # expected: '2' > Use of uninitialized value $precision in int at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 520. > Use of uninitialized value in numeric eq (==) at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 520. > Use of uninitialized value $precision in exponentiation (**) at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 531. > Use of uninitialized value in numeric gt (>) at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 624. > > # Failed test 'Formatting number using format()' > # at t/02.num.t line 122. > # got: '1281284' > # expected: '1,281,284.00' > Argument "" isn't numeric in int at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 520. > Argument "" isn't numeric in repeat (x) at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 879. > Use of uninitialized value in concatenation (.) or string at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 947. > > # Failed test 'Formatting money using format_money()' > # at t/02.num.t line 126. > Wide character in print at > /usr/perl5.30.1p/lib/5.30.1/Test2/Formatter/TAP.pm line 124. > # got: '1,281,284 €' > # expected: '€1,281,284.00' > Use of uninitialized value $precision in int at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 520. > Use of uninitialized value in numeric eq (==) at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 520. > Use of uninitialized value $precision in exponentiation (**) at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 531. > Use of uninitialized value in numeric gt (>) at > /home/cpansand/.cpan/build/2020052215/Number-Format-1.75- > 0/blib/lib/Number/Format.pm line 624. > > # Failed test 'Formatting negative number => (1,281,284.00)' > # at t/02.num.t line 130. > # got: '(1281284)' > # expected: '(1,281,284.00)' > # Looks like you failed 6 tests of 138. > t/02.num.t ..... > Dubious, test returned 6 (wstat 1536, 0x600) > Failed 6/138 subtests > ...
A similar failure on Debian 10, here with much more warnings generated in Number::Format (partially snipped): ... Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 356. Use of uninitialized value in string eq at (eval in cmp_ok) t/02.num.t line 113. # Failed test 'Thousand separator' # at t/02.num.t line 113. # got: undef # expected: ',' Use of uninitialized value in string eq at (eval in cmp_ok) t/02.num.t line 114. # Failed test 'Precision' # at t/02.num.t line 114. # got: undef # expected: '2' Use of uninitialized value in pattern match (m//) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 350. Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 356. Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 476. Use of uninitialized value in pattern match (m//) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 350. Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 356. Use of uninitialized value in string eq at (eval in cmp_ok) t/02.num.t line 121. # Failed test 'New object precision' # at t/02.num.t line 121. # got: undef # expected: '2' Use of uninitialized value in pattern match (m//) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 350. Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 356. Use of uninitialized value $precision in int at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 520. Use of uninitialized value in numeric eq (==) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 520. Use of uninitialized value $precision in exponentiation (**) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 531. Use of uninitialized value in numeric gt (>) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 624. # Failed test 'Formatting number using format()' # at t/02.num.t line 122. # got: '1281284' # expected: '1,281,284.00' Use of uninitialized value in pattern match (m//) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 350. Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 356. Argument "" isn't numeric in int at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 520. Argument "" isn't numeric in repeat (x) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 879. Use of uninitialized value in concatenation (.) or string at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 947. # Failed test 'Formatting money using format_money()' # at t/02.num.t line 126. Wide character in print at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Test2/Formatter/TAP.pm line 125. # got: '1,281,284 €' # expected: '€1,281,284.00' Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 476. Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 476. Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 476. Use of uninitialized value in pattern match (m//) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 350. Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 356. Use of uninitialized value in pattern match (m//) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 350. Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 356. Use of uninitialized value $precision in int at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 520. Use of uninitialized value in numeric eq (==) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 520. Use of uninitialized value $precision in exponentiation (**) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 531. Use of uninitialized value in numeric gt (>) at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 624. # Failed test 'Formatting negative number => (1,281,284.00)' # at t/02.num.t line 130. # got: '(1281284)' # expected: '(1,281,284.00)' Use of uninitialized value in string eq at /opt/perl-5.26.2D/lib/site_perl/5.26.2/Number/Format.pm line 476. ...
Fixed in upcoming version v0.12.9