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> |
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
Message body not shown because it is not plain text.