Subject: | tests generated via Build.pl broken |
Building C::MM with the included Build.PL results in a version that is unable to pass tests (see top paste). Building it old school works still though (see bottom paste). I've tried this with Module::Build 2.611 on both perl 5.8.6 and 5.8.7
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.7/Module/Build/Base.pm line 1455.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.7/Module/Build/Base.pm line 1586.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.7/Module/Build/Base.pm line 1592.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.7/Module/Build/Base.pm line 1455.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.7/Module/Build/Base.pm line 1586.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.8.7/Module/Build/Base.pm line 1592.
t/0-signature..............gpg: Signature made Sun Apr 10 06:25:09 2005 EDT using DSA key ID C57858AD
gpg: Can't check signature: public key not found
t/0-signature..............ok
t/array....................Argument "2.121_04" isn't numeric in subroutine entry at t/array.t line 12.
t/array....................ok
t/basic....................Argument "2.121_04" isn't numeric in subroutine entry at t/basic.t line 11.
t/basic....................ok
t/diffclass................ok
t/hash.....................Argument "2.121_04" isn't numeric in subroutine entry at t/hash.t line 12.
t/hash.....................ok
t/new......................ok
t/redefine-warnings........ok
t/scalar...................ok
t/v1_abstract..............ok
t/v1_boolean...............Wrong C::MM: 1.11
t/v1_boolean...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t/v1_code..................ok
t/v1_copy..................ok
t/v1_counter...............Wrong C::MM: 1.11
t/v1_counter...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
t/v1_get_concat............Wrong C::MM: 1.11
t/v1_get_concat............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-13
Failed 13/13 tests, 0.00% okay
t/v1_get_set...............ok
t/v1_get_set_hi............ok
t/v1_hash..................ok
t/v1_key_attrib............Wrong C::MM: 1.11
t/v1_key_attrib............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-17
Failed 17/17 tests, 0.00% okay
t/v1_key_with_create.......Wrong C::MM: 1.11
t/v1_key_with_create.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-18
Failed 18/18 tests, 0.00% okay
t/v1_list..................ok
t/v1_method................ok
t/v1_new...................ok
t/v1_new_hash_with_init....ok
t/v1_object................ok
t/v1_object_list...........ok
t/v1_object_tie_hash.......Wrong C::MM: 1.11
t/v1_object_tie_hash.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/v1_object_tie_list.......Wrong C::MM: 1.11
t/v1_object_tie_list.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
t/v1_set_once..............Unrecognised option: set_once to get_set at t/v1_set_once.t line 7
BEGIN failed--compilation aborted at t/v1_set_once.t line 18.
t/v1_set_once..............dubious
Test returned status 9 (wstat 2304, 0x900)
t/v1_set_once_static.......Unrecognised option: set_once to get_set at t/v1_set_once_static.t line 6
BEGIN failed--compilation aborted at t/v1_set_once_static.t line 12.
t/v1_set_once_static.......dubious
Test returned status 9 (wstat 2304, 0x900)
t/v1_singleton.............Wrong C::MM: 1.11
t/v1_singleton.............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
Failed 8/8 tests, 0.00% okay
t/v1_static_get_set........ok
t/v1_static_hash...........ok
t/v1_static_list...........ok
t/v1_tie_hash..............ok
t/v1_tie_list..............ok
t/v1_tie_scalar............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/v1_boolean.t 255 65280 19 38 200.00% 1-19
t/v1_counter.t 255 65280 11 22 200.00% 1-11
t/v1_get_concat.t 255 65280 13 26 200.00% 1-13
t/v1_key_attrib.t 255 65280 17 34 200.00% 1-17
t/v1_key_with_create.t 255 65280 18 36 200.00% 1-18
t/v1_object_tie_hash.t 255 65280 8 16 200.00% 1-8
t/v1_object_tie_list.t 255 65280 12 24 200.00% 1-12
t/v1_set_once.t 9 2304 ?? ?? % ??
t/v1_set_once_static.t 9 2304 ?? ?? % ??
t/v1_singleton.t 255 65280 8 16 200.00% 1-8
Failed 10/36 test scripts, 72.22% okay. 106/1640 subtests failed, 93.54% okay.
versus and old school perl Makefile.PL routine:
/usr/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e" "test_harnes
s(0, 'blib/lib', 'blib/arch')" t/*.t
t/0-signature..............gpg: Signature made Sun Apr 10 06:25:09 2005 EDT usin
g DSA key ID C57858AD
gpg: Can't check signature: public key not found
t/0-signature..............ok
t/array....................Argument "2.121_04" isn't numeric in subroutine entry
at t/array.t line 12.
t/array....................ok
t/basic....................Argument "2.121_04" isn't numeric in subroutine entry
at t/basic.t line 11.
t/basic....................ok
t/diffclass................ok
t/hash.....................Argument "2.121_04" isn't numeric in subroutine entry
at t/hash.t line 12.
t/hash.....................ok
t/new......................ok
t/redefine-warnings........ok
t/scalar...................ok
t/v1_abstract..............ok
t/v1_boolean...............ok
t/v1_code..................ok
t/v1_copy..................ok
t/v1_counter...............ok
t/v1_get_concat............ok
t/v1_get_set...............ok
t/v1_get_set_hi............ok
t/v1_hash..................ok
t/v1_key_attrib............ok
t/v1_key_with_create.......ok
t/v1_list..................ok
t/v1_method................ok
t/v1_new...................ok
t/v1_new_hash_with_init....ok
t/v1_object................ok
t/v1_object_list...........ok
t/v1_object_tie_hash.......ok
t/v1_object_tie_list.......ok
t/v1_set_once..............ok
t/v1_set_once_static.......ok
t/v1_singleton.............ok
t/v1_static_get_set........ok
t/v1_static_hash...........ok
t/v1_static_list...........ok
t/v1_tie_hash..............ok
t/v1_tie_list..............ok
t/v1_tie_scalar............ok
All tests successful.
Files=36, Tests=1755, 4 wallclock secs ( 3.41 cusr + 0.31 csys = 3.72 CPU)