Subject: | suite.t fails tests due to missing listen_port attribute |
This module fails to pass its test suite - suite.t fails, apparently due to a missing attribute - listen_port.
tobyc@arya:~/.cpanplus/5.12.2/build/POEx-Role-PSGIServer-1.102531$ perl Makefile.PL
Writing Makefile for POEx::Role::PSGIServer
tobyc@arya:~/.cpanplus/5.12.2/build/POEx-Role-PSGIServer-1.102531$ make
Skip blib/lib/POEx/Role/PSGIServer/ProxyWriter.pm (unchanged)
Skip blib/lib/POEx/Types/PSGIServer.pm (unchanged)
Skip blib/lib/POEx/Role/PSGIServer.pm (unchanged)
Skip blib/lib/POEx/Role/PSGIServer/Streamer.pm (unchanged)
Manifying blib/man3/POEx::Role::PSGIServer::ProxyWriter.3
Manifying blib/man3/POEx::Types::PSGIServer.3
Manifying blib/man3/POEx::Role::PSGIServer::Streamer.3
Manifying blib/man3/POEx::Role::PSGIServer.3
tobyc@arya:~/.cpanplus/5.12.2/build/POEx-Role-PSGIServer-1.102531$ make test
PERL_DL_NONLAZY=1 /home/tobyc/git/modern-perl/system/lucid-amd64.new/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
t/streaming.t ............. skipped: Test requires module 'HTTP::Parser::XS' but it's not found
t/suite.t ................. Attribute (listen_port) is required at
/usr/local/strategic/perl/lib/site_perl/5.12.2/Plack/Loader.pm line 47
Plack::Loader::load('Plack::Loader', '+MyTester', 'port', 10735, 'host', 127.0.0.1) called at
/usr/local/strategic/perl/lib/site_perl/5.12.2/Plack/Test/Suite.pm line 651
Plack::Test::Suite::__ANON__(10735, 'CODE(0x43d5ab0)') called at
/usr/local/strategic/perl/lib/site_perl/5.12.2/Plack/Test/Suite.pm line 678
Plack::Test::Suite::__ANON__(10735) called at /usr/local/strategic/perl/lib/site_perl/5.12.2/Test/TCP.pm line
79
Test::TCP::test_tcp('client', 'CODE(0x233eaf8)', 'server', 'CODE(0x43c27b8)', 'port', undef) called at
/usr/local/strategic/perl/lib/site_perl/5.12.2/Plack/Test/Suite.pm line 680
Plack::Test::Suite::run_server_tests('Plack::Test::Suite', '+MyTester') called at t/suite.t line 9
cannot open port: 10735 at /usr/local/strategic/perl/lib/site_perl/5.12.2/Test/TCP.pm line 112.
t/suite.t ................. Dubious, test returned 111 (wstat 28416, 0x6f00)
No subtests run
Test Summary Report
-------------------
t/suite.t (Wstat: 28416 Tests: 0 Failed: 0)
Non-zero exit status: 111
Parse errors: No plan found in TAP output
Files=4, Tests=0, 11 wallclock secs ( 0.03 usr 0.00 sys + 0.78 cusr 0.04 csys = 0.85 CPU)
Result: FAIL
Failed 1/4 test programs. 0/0 subtests failed.
make: *** [test_dynamic] Error 111
tobyc@arya:~/.cpanplus/5.12.2/build/POEx-Role-PSGIServer-1.102531$