Subject: | Tests fail on Mac OS X |
I would like to help with this module on Mac OS X. Unfortunately, I'm not familiar with libusb
but I'm willing to learn. Here is the output of the make test:
PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00-load.........................ok 1/1# Testing Device::USB 0.21, Perl 5.008008, /opt/local/bin/
perl
t/00-load.........................ok
t/01-create-usb...................ok
t/02-find_busses_devices..........ok
t/03-list_busses..................dubious
Test returned status 0 (wstat 10, 0xa)
t/04-find_device..................dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 4-8
Failed 5/8 tests, 37.50% okay
t/05-find_device_if...............dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 3-11
Failed 9/11 tests, 18.18% okay
t/06-list_devices.................dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 3-8
Failed 6/8 tests, 25.00% okay
t/07-list_devices_if..............dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 5-11
Failed 7/11 tests, 36.36% okay
t/08-get_busses...................dubious
Test returned status 0 (wstat 10, 0xa)
t/09-usb-bus......................dubious
Test returned status 0 (wstat 10, 0xa)
t/10-usb-device-accessors.........dubious
Test returned status 0 (wstat 10, 0xa)
t/11-usb-device-methods...........ok
t/12-constants....................ok
t/13-bus_find_device_if...........dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 2-11
Failed 10/11 tests, 9.09% okay
t/14-bus_list_devices_if..........dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 2-11
Failed 10/11 tests, 9.09% okay
t/15-usb_dev_configuration........dubious
Test returned status 0 (wstat 10, 0xa)
t/16-usb_dev_interface............dubious
Test returned status 0 (wstat 10, 0xa)
t/17-usb_dev_endpoint.............dubious
Test returned status 0 (wstat 10, 0xa)
t/18-usb_device-configurations....dubious
Test returned status 0 (wstat 10, 0xa)
t/boilerplate.....................ok
t/pod-coverage....................ok
t/pod.............................ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/03-list_busses.t 0 10 ?? ?? ??
t/04-find_device.t 0 10 8 10 4-8
t/05-find_device_if.t 0 10 11 18 3-11
t/06-list_devices.t 0 10 8 12 3-8
t/07-list_devices_if.t 0 10 11 14 5-11
t/08-get_busses.t 0 10 ?? ?? ??
t/09-usb-bus.t 0 10 ?? ?? ??
t/10-usb-device-accessors.t 0 10 ?? ?? ??
t/13-bus_find_device_if.t 0 10 11 20 2-11
t/14-bus_list_devices_if.t 0 10 11 20 2-11
t/15-usb_dev_configuration.t 0 10 ?? ?? ??
t/16-usb_dev_interface.t 0 10 ?? ?? ??
t/17-usb_dev_endpoint.t 0 10 ?? ?? ??
t/18-usb_device-configurations.t 0 10 ?? ?? ??
Failed 14/22 test scripts. 42/104 subtests failed.
Files=22, Tests=104, 9 wallclock secs ( 2.12 cusr + 1.92 csys = 4.04 CPU)
Failed 14/22 test programs. 42/104 subtests failed.
make: *** [test_dynamic] Error 255