Skip Menu |

This queue is for tickets about the Dancer-Plugin-SporeDefinitionControl CPAN distribution.

Report information
The Basics
Id: 72208
Status: open
Priority: 0/
Queue: Dancer-Plugin-SporeDefinitionControl

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

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



Subject: Failed tests
Hello, Running make test PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use Dancer::Plugin::SporeDefinitionControl;' # at t/00-load.t line 14. # Tried to use 'Dancer::Plugin::SporeDefinitionControl'. # Error: YAML Error: Couldn't open /Users/ambs/.cpan/build/Dancer-Plugin-SporeDefinitionControl-0.09-So46y1/t/../sample_route.yaml for input:\nNo such file or directory # Code: YAML_LOAD_ERR_FILE_INPUT # at /opt/local/lib/perl5/site_perl/5.14.2/YAML.pm line 71 # Compilation failed in require at (eval 41) line 2. # BEGIN failed--compilation aborted at (eval 41) line 2. # Testing Dancer::Plugin::SporeDefinitionControl 0.09, Perl 5.014002, /opt/local/bin/perl # Looks like you failed 1 test of 1. Bailout called. Further testing stopped: FAILED--Further testing stopped. make: *** [test_dynamic] Error 1 (/usr/bin/make test exited with 512)
These error is when running cpan as superuser (sudo). Show quoted text
> Running make test > PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > > # Failed test 'use Dancer::Plugin::SporeDefinitionControl;' > # at t/00-load.t line 14. > # Tried to use 'Dancer::Plugin::SporeDefinitionControl'. > # Error: YAML Error: Couldn't open > /Users/ambs/.cpan/build/Dancer-Plugin-SporeDefinitionControl-0.09- > So46y1/t/../sample_route.yaml > for input:\nNo such file or directory > # Code: YAML_LOAD_ERR_FILE_INPUT > # at /opt/local/lib/perl5/site_perl/5.14.2/YAML.pm line 71 > # Compilation failed in require at (eval 41) line 2. > # BEGIN failed--compilation aborted at (eval 41) line 2. > # Testing Dancer::Plugin::SporeDefinitionControl 0.09, Perl 5.014002, > /opt/local/bin/perl > # Looks like you failed 1 test of 1. > Bailout called. Further testing stopped: > FAILED--Further testing stopped. > make: *** [test_dynamic] Error 1 > (/usr/bin/make test exited with 512)
Running the test suite by hand, I get: [ambs@rachmaninoff foo]$ make cp lib/Foo.pm blib/lib/Foo.pm cp lib/Dancer/Plugin/SporeDefinitionControl.pm ../blib/lib/Dancer/Plugin/SporeDefinitionControl.pm Manifying ../blib/man3/Dancer::Plugin::SporeDefinitionControl.3 [ambs@rachmaninoff foo]$ make test PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001_base.t ......... ok t/002_index_route.t .. 1/2 # Failed test 'response status is 200 for /' # at t/002_index_route.t line 10. # got: '503' # expected: '200' # Looks like you failed 1 test of 2. t/002_index_route.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests