Re: Failing tests during 'make test'

"Martyn J. Pearce" <[email protected]> Sun, 30 Jan 2005 13:37:20 +0000
Newsgroups gmane.comp.lang.perl.modules.class-methodmaker
Message-ID <[email protected]>
Hi Nick,

Apologies for the delay in replying.  There was some weirdness with 2.04
particularly with building with Module::Build, on certain platforms.  I have
recently uploaded 2.05 to CPAN & Sourceforge, which works for every platform
I've tried.  Apologies for any inconvenience.

Please give it a go and let me know.  If it doesn't work, can you run

  perl -Mblib t/v1_boolean.t

and let me know the output?

FWIW, the trouble began when I inserted XS code to ensure that the correct
output is given by caller & the profiler.  Prior to this, you just saw lots of
Class::MethodMaker::__ANON__ references which weren't terribly conducive to
debugging/profiling.

HTH,
Mx.


On Fri, Jan 21, 2005 at 01:40:56PM -0500, Nick Sauro wrote:
> Hello all. I am relatively new to PERL and CPAN, and am trying to install the Class::MethodMaker module.
> At first, I tried using CPAN, and it said it did it successfuly, but when I run the perl program that uses the module, it is reporting errors within the module.  I am running redhat linux.  I tried then manually compiling and installing the module, and when I get to make test, i get a lot of errors in the tests.  Here is a dump:  Can anyone point me in the right direction?  Any help will be greatly appreciated
>  
> Thanks
>  
> Nick S.
>  
> /usr/bin/perl Build --makefile_env_macros 1 test
>  * WARNING: Configuration was initially created with '/usr/bin/perl',
>    but we are now using '/usr/bin/perl'.
> Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.0/Module/Build/Base.pm line 1431.
> Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.0/Module/Build/Base.pm line 1562.
> Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.0/Module/Build/Base.pm line 1568.
> Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.0/Module/Build/Base.pm line 1431.
> Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.0/Module/Build/Base.pm line 1562.
> Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.0/Module/Build/Base.pm line 1568.
> t/0-signature..............ok
>         1/1 skipped: Next time around, consider install Module::Signature,
> t/array....................ok
> t/basic....................ok
> t/diffclass................ok
> t/hash.....................ok
> t/new......................ok
> t/redefine-warnings........ok
>         1/2 skipped: various reasons
> t/scalar...................ok
> t/v1_abstract..............ok
> t/v1_boolean...............Wrong C::MM: 1.12
> t/v1_boolean...............dubious
>         Test returned status 25 (wstat 6400, 0x1900)
> 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.12
> t/v1_counter...............dubious
>         Test returned status 25 (wstat 6400, 0x1900)
> DIED. FAILED tests 1-11
>         Failed 11/11 tests, 0.00% okay
> t/v1_get_concat............Wrong C::MM: 1.12
> t/v1_get_concat............dubious
>         Test returned status 25 (wstat 6400, 0x1900)
> 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.12
> t/v1_key_attrib............dubious
>         Test returned status 25 (wstat 6400, 0x1900)
> DIED. FAILED tests 1-17
>         Failed 17/17 tests, 0.00% okay
> t/v1_key_with_create.......Wrong C::MM: 1.12
> t/v1_key_with_create.......dubious
>         Test returned status 25 (wstat 6400, 0x1900)
> 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.12
> 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.12
> 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..............Wrong C::MM: 1.12
> t/v1_set_once..............dubious
>         Test returned status 25 (wstat 6400, 0x1900)
> DIED. FAILED tests 1-71
>         Failed 71/71 tests, 0.00% okay
> t/v1_set_once_static.......Wrong C::MM: 1.12
> t/v1_set_once_static.......dubious
>         Test returned status 25 (wstat 6400, 0x1900)
> DIED. FAILED tests 1-44
>         Failed 44/44 tests, 0.00% okay
> t/v1_singleton.............Wrong C::MM: 1.12
> t/v1_singleton.............dubious
>         Test returned status 25 (wstat 6400, 0x1900)
> 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           25  6400    19   19 100.00%  1-19
> t/v1_counter.t           25  6400    11   11 100.00%  1-11
> t/v1_get_concat.t        25  6400    13   13 100.00%  1-13
> t/v1_key_attrib.t        25  6400    17   17 100.00%  1-17
> t/v1_key_with_create.t   25  6400    18   18 100.00%  1-18
> t/v1_object_tie_hash.t  255 65280     8    8 100.00%  1-8
> t/v1_object_tie_list.t  255 65280    12   12 100.00%  1-12
> t/v1_set_once.t          25  6400    71   71 100.00%  1-71
> t/v1_set_once_static.t   25  6400    44   44 100.00%  1-44
> t/v1_singleton.t         25  6400     8    8 100.00%  1-8
> 2 subtests skipped.
> Failed 10/36 test scripts, 72.22% okay. 221/1748 subtests failed, 87.36% okay.
> make: *** [test] Error 29


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl