Skip Menu |

This queue is for tickets about the PPerl CPAN distribution.

Report information
The Basics
Id: 56122
Status: open
Priority: 0/
Queue: PPerl

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc: ANSGAR [...] cpan.org
AdminCc:

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



Subject: Test suite fails with perl 5.12.0 because of new warning
Running the test suite with perl 5.12.0-RC0 fails. It seems that the new "use of goto to jump into a construct" deprecation warning is causing the problem: # Test 6 got: "Use of \"goto\" to jump into a construct is deprecated at /var/tmp//pperl7GLaNf line 53.\n" (t/06exit_die.t at line 18) # Expected: "" # t/06exit_die.t line 18 is: ok($out, ""); # Test 8 got: "foo at t/spammy.plx line 7.\nUse of \"goto\" to jump into a construct is deprecated at /var/tmp//pperl7GLaNf line 53.\n" (t/06exit_die.t at line 22) # Expected: "foo at t/spammy.plx line 7.\n" # t/06exit_die.t line 22 is: ok($out, "foo at t/spammy.plx line 7.\n"); t/06exit_die.t ....... Regards, Slaven
On Tue Mar 30 15:34:46 2010, SREZIC wrote: Show quoted text
> Running the test suite with perl 5.12.0-RC0 fails. It seems that the new > "use of goto to jump into a construct" deprecation warning is causing > the problem: > > # Test 6 got: "Use of \"goto\" to jump into a construct is deprecated at > /var/tmp//pperl7GLaNf line 53.\n" (t/06exit_die.t at line 18) > # Expected: "" > # t/06exit_die.t line 18 is: ok($out, ""); > # Test 8 got: "foo at t/spammy.plx line 7.\nUse of \"goto\" to jump into > a construct is deprecated at /var/tmp//pperl7GLaNf line 53.\n" > (t/06exit_die.t at line 22) > # Expected: "foo at t/spammy.plx line 7.\n" > # t/06exit_die.t line 22 is: ok($out, "foo at t/spammy.plx line 7.\n"); > t/06exit_die.t .......
There's a workaround for this in <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581411> but we're back to failures in 5.16 now: <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676276>