Skip Menu |
 

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

Report information
The Basics
Id: 60393
Status: resolved
Priority: 0/
Queue: Devel-ebug

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

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



Subject: fails test t/pad.t fails with YAML::Syck 1.12
Date: Mon, 16 Aug 2010 16:51:43 +0200
To: bug-Devel-Ebug [...] rt.cpan.org
From: Salvatore Bonaccorso <carnil [...] cpan.org>
Download (untitled) / with headers
text/plain 1.8k
Hi When building Devel-Ebug with YAML::Syck it fails on test t/pad with the following: Show quoted text
> dh_auto_test -O--buildsystem=perl_build > t/basic.t ........ ok > t/break_point.t .. ok > t/codelines.t .... ok > # Looks like your test exited with 256 just after 15. > t/ebug.t ......... ok > t/eval.t ......... ok > t/filenames.t .... ok > t/finished.t ..... ok > t/koremutake.t ... ok > t/oo.t ........... ok > t/output.t ....... ok > > # Failed test at t/pad.t line 86. > # got: '$koremutake' > # expected: '"$koremutake"' > # Looks like you failed 1 test of 22. > t/pad.t .......... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/22 subtests > t/pod.t .......... ok > t/return.t ....... ok > t/run.t .......... ok > t/signal.t ....... ok > t/stack.t ........ ok > t/subroutine.t ... ok > t/undo.t ......... ok > t/watch_point.t .. ok > > Test Summary Report > ------------------- > t/pad.t (Wstat: 256 Tests: 22 Failed: 1) > Failed test: 22 > Non-zero exit status: 1 > Files=19, Tests=292, 80 wallclock secs ( 0.08 usr 0.03 sys + 6.33 cusr 0.57 csys = 7.01 CPU) > Result: FAIL > Failed 1/19 test programs. 1/292 subtests failed.
This seems related to the following: https://rt.cpan.org/Ticket/Display.html?id=50227 and the changes in YAML::Syck: * RT 50227 - Not quoting strings when data has been sorted numerically before being passed to JSON::Syck::Dump Thus with ----(snip)-------------------------------------------------------------- --- libdevel-ebug-perl-0.49.orig/t/pad.t +++ libdevel-ebug-perl-0.49/t/pad.t @@ -83,5 +83,5 @@ is($pad->{'$first'}, '{...}'); $ebug->run; $pad = $ebug->pad_human; -is($pad->{'$first'}, '"$koremutake"'); +is($pad->{'$first'}, '$koremutake'); ------------------------------------------------------------------------ it builds again. Do you agree on that aproach? Bests Salvatore
Download signature.asc
application/pgp-signature 835b

Message body not shown because it is not plain text.

This has (hopefully) been fixed in the latest release (0.50). --Brock On Mon Aug 16 10:52:01 2010, CARNIL wrote: Show quoted text
> Hi > > When building Devel-Ebug with YAML::Syck it fails on test t/pad with > the following: >
> > dh_auto_test -O--buildsystem=perl_build > > t/basic.t ........ ok > > t/break_point.t .. ok > > t/codelines.t .... ok > > # Looks like your test exited with 256 just after 15. > > t/ebug.t ......... ok > > t/eval.t ......... ok > > t/filenames.t .... ok > > t/finished.t ..... ok > > t/koremutake.t ... ok > > t/oo.t ........... ok > > t/output.t ....... ok > > > > # Failed test at t/pad.t line 86. > > # got: '$koremutake' > > # expected: '"$koremutake"' > > # Looks like you failed 1 test of 22. > > t/pad.t .......... > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/22 subtests > > t/pod.t .......... ok > > t/return.t ....... ok > > t/run.t .......... ok > > t/signal.t ....... ok > > t/stack.t ........ ok > > t/subroutine.t ... ok > > t/undo.t ......... ok > > t/watch_point.t .. ok > > > > Test Summary Report > > ------------------- > > t/pad.t (Wstat: 256 Tests: 22 Failed: 1) > > Failed test: 22 > > Non-zero exit status: 1 > > Files=19, Tests=292, 80 wallclock secs ( 0.08 usr 0.03 sys + 6.33
> cusr 0.57 csys = 7.01 CPU)
> > Result: FAIL > > Failed 1/19 test programs. 1/292 subtests failed.
> > This seems related to the following: > > https://rt.cpan.org/Ticket/Display.html?id=50227 > > and the changes in YAML::Syck: > > * RT 50227 - Not quoting strings when data has been sorted numerically > before being passed to JSON::Syck::Dump > > Thus with > > ----(snip)-------------------------------------------------------------- > --- libdevel-ebug-perl-0.49.orig/t/pad.t > +++ libdevel-ebug-perl-0.49/t/pad.t > @@ -83,5 +83,5 @@ is($pad->{'$first'}, '{...}'); > > $ebug->run; > $pad = $ebug->pad_human; > -is($pad->{'$first'}, '"$koremutake"'); > +is($pad->{'$first'}, '$koremutake'); > ------------------------------------------------------------------------ > > it builds again. Do you agree on that aproach? > > Bests > Salvatore


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.