Subject: | tests fail with recent perl (5.16.2 in this report) |
$ perl Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'constant' version '1.21'
$ prove -lv t/constant.t
t/constant.t ..
1..102
ok 1 - use constant;
ok 2 - basic scalar constant
[...]
ok 30
ok 31
not ok 32
# Failed test at t/constant.t line 111.
# got: '1'
# expected: '0'
# unexpected warning:
# - $[ used in numeric lt (<) (did you mean $] ?) at t/constant.t line 146.
ok 33
ok 34 - unexpected warning
[...]
ok 102
# Looks like you failed 1 test of 102.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/102 subtests
(less 6 skipped subtests: 95 okay)
Test Summary Report
-------------------
t/constant.t (Wstat: 256 Tests: 102 Failed: 1)
Failed test: 32
Non-zero exit status: 1
Files=1, Tests=102, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.05 cusr
0.00 csys = 0.09 CPU)
Result: FAIL
$ prove -lv t/utf8.t
t/utf8.t ..
1..2
ok 1 - basic scalar constant with funny name
not ok 2 - in substr()
# Failed test ' in substr()'
# at t/utf8.t line 17.
Wide character in print at /usr/lib/perl5/5.16.2/Test/Builder.pm line 1759.
# got: 'π'
# expected: '3.14159'
# Looks like you failed 1 test of 2.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
Test Summary Report
-------------------
t/utf8.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=1, Tests=2, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.03 cusr
0.00 csys = 0.06 CPU)
Result: FAIL