Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 69892
Status: resolved
Priority: 0/
Queue: Devel-Cover

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

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



Subject: Tests busted on perl 5.15
t/e2e/acond_branch.t ........ 1/564 # Test 7 got: "tests/cond_branch 90.3 77.2 32.9 100.0 75.7\n" (/home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm at line 303 fail #7) # Expected: "tests/cond_branch 90.3 79.3 32.9 100.0 76.2\n" # /home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm line 303 is: $ENV{DEVEL_COVER_NO_COVERAGE} ? ok 1 : ok $t, $c; # Test 8 got: "Total 90.3 77.2 32.9 100.0 75.7\n" (/home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm at line 303 fail #8) # Expected: "Total 90.3 79.3 32.9 100.0 76.2\n" # Test 94 got: "68 *** 4 0 33 $y && $z && $x[17]++; $y && $z && $x[18]++;\n" (/home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm at line 303 fail #94) # Expected: "68 *** 4 50 33 $y && $z && $x[17]++; $y && $z && $x[18]++;\n" # Test 95 got: " *** 4 0 33 \n" (/home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm at line 303 fail #95) # Expected: " *** 4 50 33 \n" # Test 448 got: "68 *** 0 0 0 if $y and $z\n" (/home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm at line 303 fail #448) # Expected: "68 *** 50 0 4 if $y and $z\n" # Test 449 got: " *** 0 0 0 if $y and $z\n" (/home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm at line 303 fail #449) # Expected: " *** 50 0 4 if $y and $z\n" t/e2e/acond_branch.t ........ Failed 6/564 subtests t/e2e/acond_or.t ............ 1/283 # Test 7 got: "tests/cond_or 90.7 30.0 72.3 75.0 73.6\n" (/home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm at line 303 fail #7) # Expected: "tests/cond_or 90.7 35.0 72.3 75.0 74.4\n" # /home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm line 303 is: $ENV{DEVEL_COVER_NO_COVERAGE} ? ok 1 : ok $t, $c; # Test 9 got: "Total 93.8 30.0 67.8 85.7 75.4\n" (/home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm at line 303 fail #9) # Expected: "Total 93.8 35.0 67.8 85.7 75.9\n" # Test 68 got: "41 *** 11 0 33 $y ||\n" (/home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm at line 303 fail #68) # Expected: "41 *** 11 50 33 $y ||\n" # Test 132 got: "41 *** 0 0 0 unless $y or $x[0]++\n" (/home/rabbit/.cpanm/work/1311954808.21462/Devel-Cover-0.78/blib/lib/Devel/Cover/Test.pm at line 303 fail #132) # Expected: "41 *** 50 0 11 unless $y or $x[0]++\n" t/e2e/acond_or.t ............ Failed 4/283 subtests
Thanks very much for this report. The problem was caused by perl db4d68cf2dda3f17d4e9fb440385189f55271b32, and fixed by Devel::Cover f26ba32d6acbb002e9eaba6019377af5eeea555f.