Skip Menu |

This queue is for tickets about the Config-Any CPAN distribution.

Report information
The Basics
Id: 121331
Status: resolved
Priority: 0/
Queue: Config-Any

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

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



Subject: t/55-yaml.t fails (0.31)
Some of my smokers show the following failure: ... # Failed test 'config load failed' # at t/55-yaml.t line 27. # got: 'HASH(0x41ef3e88)' # expected: undef # Failed test 'error thrown' # at t/55-yaml.t line 28. # got: '' # expected: anything else # Failed test 'config load failed' # at t/55-yaml.t line 36. # got: 'ARRAY(0x41edf570)' # expected: undef # Failed test 'error thrown' # at t/55-yaml.t line 37. # got: '' # expected: anything else # Looks like you failed 4 tests of 6. t/55-yaml.t ........... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/6 subtests ...
On 2017-04-23 16:05:02, SREZIC wrote: Show quoted text
> Some of my smokers show the following failure: > > ... > # Failed test 'config load failed' > # at t/55-yaml.t line 27. > # got: 'HASH(0x41ef3e88)' > # expected: undef > > # Failed test 'error thrown' > # at t/55-yaml.t line 28. > # got: '' > # expected: anything else > > # Failed test 'config load failed' > # at t/55-yaml.t line 36. > # got: 'ARRAY(0x41edf570)' > # expected: undef > > # Failed test 'error thrown' > # at t/55-yaml.t line 37. > # got: '' > # expected: anything else > # Looks like you failed 4 tests of 6. > t/55-yaml.t ........... > Dubious, test returned 4 (wstat 1024, 0x400) > Failed 4/6 subtests > ...
An idea: YAML::XS (passes) vs. some other YAML implementation (YAML? YAML::Syck? --- fails).
I've updated the test to allow those checks to fail if it is using YAML::Syck, since that seems to be causing the issue. I've also added a test to report the versions of all the optional prereqs, to make issues like this easier to track down in the future. Fixed in 0.32.