I have to use xpl-perl for my project, but the tests fail. This is the output:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-helpers.t .................. ok
t/01-pod.t ...................... ok
t/01-use.t ...................... ok
t/01-xpl-base.t ................. ok
t/01-xpl-interfaces.t ........... ok
t/01-xpl-message.t .............. ok
t/01-xpl-slowmessage.t .......... ok
t/01-xpl-utils.t ................ ok
t/01-xpl-validation.t ........... ok
t/02-message-v.t ................ ok
t/02-message.t .................. ok
t/02-schema-yaml.t .............. ok
t/02-timer.t .................... ok
t/03-message-errors-v.t ......... ok
t/03-message-errors.t ........... ok
t/03-message-from-payload.t ..... ok
t/03-message-method-maker.t ..... ok
t/04-clock.t .................... ok
t/04-collection-api.t ........... ok
t/04-config.t ................... ok
t/04-hbeat-errors.t ............. ok
t/04-osd-errors.t ............... ok
t/04-queue.t .................... ok
t/05-listener-anyevent.t ........ ok
t/05-listener-send-methods.t .... ok
t/05-listener.t ................. ok
t/06-hub.t ...................... ok
t/07-client-config.t ............ ok
t/07-client-gtk.t ............... ok
t/07-client-hubless.t ........... ok
t/07-client-ping.t .............. ok
t/07-client-stealth.t ........... ok
t/07-client.t ................... ok
t/08-bridge-client.t ............ ok
t/08-bridge.t ................... ok
t/09-hub-ignore-remote-hbeat.t .. ok
t/09-targetting.t ............... ok
t/10-mainloop.t ................. ok
t/12-dock.t ..................... ok
t/13-dock-plug.t ................ ok
t/13-iohandler.t ................ 1/35 sysread() on unopened filehandle GEN5 at /usr/lib/perl/5.14/IO/Handle.pm line 203.
Can't call method "baudrate" on an undefined value at /home/alexander/BeanzXPLPerl/xpl-perl/blib/lib/xPL/IOHandler.pm line 112.
Looks like you planned 35 tests but ran 24.
Looks like your test exited with 2 just after 24.
t/13-iohandler.t ................ Dubious, test returned 2 (wstat 512, 0x200)
Failed 11/35 subtests
t/13-iorecords.t ................ ok
t/14-dock-apcups.t .............. ok
t/14-dock-bluetooth.t ........... ok
t/14-dock-currentcost.t ......... 1/28 Can't locate object method "one_event" via package "AnyEvent" at t/14-dock-currentcost.t line 259.
Looks like you planned 28 tests but ran 7.
Looks like your test exited with 25 just after 7.
t/14-dock-currentcost.t ......... Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 21/28 subtests
t/14-dock-datetime.t ............ ok
t/14-dock-dawndusk.t ............ ok
t/14-dock-dmx.t ................. ok
t/14-dock-easydaq.t ............. ok
t/14-dock-fdnotify.t ............ ok
t/14-dock-heyu.t ................ ok
t/14-dock-lcdproc.t ............. ok
t/14-dock-linux.t ............... ok
t/14-dock-lirc.t ................ ok
t/14-dock-mythtv.t .............. ok
t/14-dock-ownet.t ............... ok
t/14-dock-rfxcom-rx.t ........... 4/? Can't locate object method "one_event" via package "AnyEvent" at t/14-dock-rfxcom-rx.t line 52.
Tests were run but no plan was declared and done_testing() was not seen.
t/14-dock-rfxcom-rx.t ........... Dubious, test returned 29 (wstat 7424, 0x1d00)
All 8 subtests passed
t/14-dock-rfxcom-tx.t ........... 1/71 Can't locate object method "one_event" via package "AnyEvent" at t/14-dock-rfxcom-tx.t line 62.
Looks like you planned 71 tests but ran 8.
Looks like your test exited with 29 just after 8.
t/14-dock-rfxcom-tx.t ........... Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 63/71 subtests
t/14-dock-smart.t ............... 1/5 main_loop with count is deprecated. at t/14-dock-smart.t line 55
Failed to open t/dev: No such file or directory
Looks like you planned 5 tests but ran 4.
Looks like your test exited with 2 just after 4.
t/14-dock-smart.t ............... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/5 subtests
t/14-dock-udin.t ................ ok
t/14-dock-viom.t ................ ok
t/14-dock-w800.t ................ 1/12 Can't locate object method "one_event" via package "AnyEvent" at t/14-dock-w800.t line 93.
Looks like you planned 12 tests but ran 7.
Looks like your test exited with 25 just after 7.
t/14-dock-w800.t ................ Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 5/12 subtests
t/14-dock-wol.t ................. ok
t/14-dock-xosd.t ................ ok
t/14-dock-xvkbd.t ............... ok
t/author-critic.t ............... skipped: these tests are for testing by the author
t/release-eol.t ................. skipped: these tests are for release candidate testing
t/release-kwalitee.t ............ skipped: these tests are for release candidate testing
t/release-no-tabs.t ............. skipped: these tests are for release candidate testing
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
Test Summary Report
t/13-iohandler.t (Wstat: 512 Tests: 24 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 35 tests but ran 24.
t/14-dock-currentcost.t (Wstat: 6400 Tests: 7 Failed: 0)
Non-zero exit status: 25
Parse errors: Bad plan. You planned 28 tests but ran 7.
t/14-dock-rfxcom-rx.t (Wstat: 7424 Tests: 8 Failed: 0)
Non-zero exit status: 29
Parse errors: No plan found in TAP output
t/14-dock-rfxcom-tx.t (Wstat: 7424 Tests: 8 Failed: 0)
Non-zero exit status: 29
Parse errors: Bad plan. You planned 71 tests but ran 8.
t/14-dock-smart.t (Wstat: 512 Tests: 4 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 4.
t/14-dock-w800.t (Wstat: 6400 Tests: 7 Failed: 0)
Non-zero exit status: 25
Parse errors: Bad plan. You planned 12 tests but ran 7.
Files=71, Tests=3748, 27 wallclock secs ( 0.95 usr 0.12 sys + 11.92 cusr 1.59 csys = 14.58 CPU)
Result: FAIL
Failed 6/71 test programs. 0/3748 subtests failed.
make: *\ [test_dynamic] Error 255
Hello,
I have to use xpl-perl for my project, but the tests fail. This is the output:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-helpers.t .................. ok
t/01-pod.t ...................... ok
t/01-use.t ...................... ok
t/01-xpl-base.t ................. ok
t/01-xpl-interfaces.t ........... ok
t/01-xpl-message.t .............. ok
t/01-xpl-slowmessage.t .......... ok
t/01-xpl-utils.t ................ ok
t/01-xpl-validation.t ........... ok
t/02-message-v.t ................ ok
t/02-message.t .................. ok
t/02-schema-yaml.t .............. ok
t/02-timer.t .................... ok
t/03-message-errors-v.t ......... ok
t/03-message-errors.t ........... ok
t/03-message-from-payload.t ..... ok
t/03-message-method-maker.t ..... ok
t/04-clock.t .................... ok
t/04-collection-api.t ........... ok
t/04-config.t ................... ok
t/04-hbeat-errors.t ............. ok
t/04-osd-errors.t ............... ok
t/04-queue.t .................... ok
t/05-listener-anyevent.t ........ ok
t/05-listener-send-methods.t .... ok
t/05-listener.t ................. ok
t/06-hub.t ...................... ok
t/07-client-config.t ............ ok
t/07-client-gtk.t ............... ok
t/07-client-hubless.t ........... ok
t/07-client-ping.t .............. ok
t/07-client-stealth.t ........... ok
t/07-client.t ................... ok
t/08-bridge-client.t ............ ok
t/08-bridge.t ................... ok
t/09-hub-ignore-remote-hbeat.t .. ok
t/09-targetting.t ............... ok
t/10-mainloop.t ................. ok
t/12-dock.t ..................... ok
t/13-dock-plug.t ................ ok
t/13-iohandler.t ................ 1/35 sysread() on unopened filehandle GEN5 at /usr/lib/perl/5.14/IO/Handle.pm line 203. Can't call method "baudrate" on an undefined value at /home/alexander/BeanzXPLPerl/xpl-perl/blib/lib/xPL/IOHandler.pm line 112.
Looks like you planned 35 tests but ran 24.
Looks like your test exited with 2 just after 24.
t/13-iohandler.t ................ Dubious, test returned 2 (wstat 512, 0x200) Failed 11/35 subtests t/13-iorecords.t ................ ok
t/14-dock-apcups.t .............. ok
t/14-dock-bluetooth.t ........... ok
t/14-dock-currentcost.t ......... 1/28 Can't locate object method "one_event" via package "AnyEvent" at t/14-dock-currentcost.t line 259.
Looks like you planned 28 tests but ran 7.
Looks like your test exited with 25 just after 7.
t/14-dock-currentcost.t ......... Dubious, test returned 25 (wstat 6400, 0x1900) Failed 21/28 subtests t/14-dock-datetime.t ............ ok
t/14-dock-dawndusk.t ............ ok
t/14-dock-dmx.t ................. ok
t/14-dock-easydaq.t ............. ok
t/14-dock-fdnotify.t ............ ok
t/14-dock-heyu.t ................ ok
t/14-dock-lcdproc.t ............. ok
t/14-dock-linux.t ............... ok
t/14-dock-lirc.t ................ ok
t/14-dock-mythtv.t .............. ok
t/14-dock-ownet.t ............... ok
t/14-dock-rfxcom-rx.t ........... 4/? Can't locate object method "one_event" via package "AnyEvent" at t/14-dock-rfxcom-rx.t line 52.
Tests were run but no plan was declared and done_testing() was not seen.
t/14-dock-rfxcom-rx.t ........... Dubious, test returned 29 (wstat 7424, 0x1d00) All 8 subtests passed t/14-dock-rfxcom-tx.t ........... 1/71 Can't locate object method "one_event" via package "AnyEvent" at t/14-dock-rfxcom-tx.t line 62.
Looks like you planned 71 tests but ran 8.
Looks like your test exited with 29 just after 8.
t/14-dock-rfxcom-tx.t ........... Dubious, test returned 29 (wstat 7424, 0x1d00) Failed 63/71 subtests t/14-dock-smart.t ............... 1/5 main_loop with count is deprecated. at t/14-dock-smart.t line 55 Failed to open t/dev: No such file or directory
Looks like you planned 5 tests but ran 4.
Looks like your test exited with 2 just after 4.
t/14-dock-smart.t ............... Dubious, test returned 2 (wstat 512, 0x200) Failed 1/5 subtests t/14-dock-udin.t ................ ok
t/14-dock-viom.t ................ ok
t/14-dock-w800.t ................ 1/12 Can't locate object method "one_event" via package "AnyEvent" at t/14-dock-w800.t line 93.
Looks like you planned 12 tests but ran 7.
Looks like your test exited with 25 just after 7.
t/14-dock-w800.t ................ Dubious, test returned 25 (wstat 6400, 0x1900) Failed 5/12 subtests t/14-dock-wol.t ................. ok
t/14-dock-xosd.t ................ ok
t/14-dock-xvkbd.t ............... ok
t/author-critic.t ............... skipped: these tests are for testing by the author t/release-eol.t ................. skipped: these tests are for release candidate testing t/release-kwalitee.t ............ skipped: these tests are for release candidate testing t/release-no-tabs.t ............. skipped: these tests are for release candidate testing 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
Test Summary Report
t/13-iohandler.t (Wstat: 512 Tests: 24 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 35 tests but ran 24. t/14-dock-currentcost.t (Wstat: 6400 Tests: 7 Failed: 0) Non-zero exit status: 25 Parse errors: Bad plan. You planned 28 tests but ran 7. t/14-dock-rfxcom-rx.t (Wstat: 7424 Tests: 8 Failed: 0) Non-zero exit status: 29 Parse errors: No plan found in TAP output t/14-dock-rfxcom-tx.t (Wstat: 7424 Tests: 8 Failed: 0) Non-zero exit status: 29 Parse errors: Bad plan. You planned 71 tests but ran 8. t/14-dock-smart.t (Wstat: 512 Tests: 4 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 5 tests but ran 4. t/14-dock-w800.t (Wstat: 6400 Tests: 7 Failed: 0) Non-zero exit status: 25 Parse errors: Bad plan. You planned 12 tests but ran 7. Files=71, Tests=3748, 27 wallclock secs ( 0.95 usr 0.12 sys + 11.92 cusr 1.59 csys = 14.58 CPU) Result: FAIL Failed 6/71 test programs. 0/3748 subtests failed. make: *\ [test_dynamic] Error 255
Can you help me out, please?