t/moose-metaclasses.t fails tests #3

Closed
kentfredric opened this Issue Feb 21, 2014 · 0 comments

Comments

Projects
None yet
1 participant
PERL_DL_NONLAZY=1 /home/kent/perl5/perlbrew/perls/perl-5.19.9/bin/perl5.19.9 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ......... ok
t/basic.t .............. ok
t/moose-basic.t ........ ok
t/other-api.t .......... ok
t/moose-subclasses.t ... ok
t/moose-roles.t ........ ok
Can't locate Class/MOP/Class/Immutable/Moose/Meta/Class/__ANON__/SERIAL/1.pm in @INC (you may need to install the Class::MOP::Class::Immutable::Moose::Meta::Class::__ANON__::SERIAL::1 module) (@INC contains: t/lib /home/kent/.cpanm/work/1392997575.568319/Class-Refresh-0.06/blib/lib /home/kent/.cpanm/work/1392997575.568319/Class-Refresh-0.06/blib/arch /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9/x86_64-linux /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9 /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/5.19.9/x86_64-linux /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/5.19.9 . /tmp/ZrQ5TDcE2Z) at t/moose-metaclasses.t line 38.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 5.
t/moose-metaclasses.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
All 5 subtests passed 
t/new-modules.t ........ ok
t/compile-error.t ...... ok
t/moose-late-load.t .... ok

Test Summary Report
-------------------
t/moose-metaclasses.t (Wstat: 512 Tests: 5 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=10, Tests=106,  6 wallclock secs ( 0.09 usr  0.02 sys +  4.07 cusr  0.53 csys =  4.71 CPU)

Deeper stacktrace:

perl -Ilib -d:Confess t/moose-metaclasses.t 
ok 1 - The object does Foo::Meta::Class
ok 2 - !Bar->meta->does('Foo::Meta::Class')
ok 3 - has meta attribute
ok 4 - doesn't have other meta attribute
ok 5 - everything loaded
Can't locate Class/MOP/Class/Immutable/Moose/Meta/Class/__ANON__/SERIAL/1.pm in @INC (you may need to install the Class::MOP::Class::Immutable::Moose::Meta::Class::__ANON__::SERIAL::1 module) (@INC contains: t/lib lib /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9/x86_64-linux /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9 /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/5.19.9/x86_64-linux /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/5.19.9 . /tmp/tmQloaDj8U) at /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9/Class/Load.pm line 202.
        Class::Load::_croak("Can't locate Class/MOP/Class/Immutable/Moose/Meta/Class/__ANO"...) called at /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9/Class/Load.pm line 43
        Class::Load::load_class("Class::MOP::Class::Immutable::Moose::Meta::Class::__ANON__::S"...) called at lib/Class/Refresh.pm line 113
        Class::Refresh::try {...} () called at /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9/Try/Tiny.pm line 81
        eval {...} called at /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9/Try/Tiny.pm line 72
        Try::Tiny::try(CODE(0x284b028), Try::Tiny::Catch=REF(0x284bc88), Try::Tiny::Finally=REF(0x28803f8)) called at lib/Class/Refresh.pm line 126
        Class::Refresh::load_module("Class::Refresh", "Class::MOP::Class::Immutable::Moose::Meta::Class::__ANON__::S"...) called at lib/Class/Refresh.pm line 85
        Class::Refresh::refresh_module("Class::Refresh", "Foo::Meta::Class") called at lib/Class/Refresh.pm line 47
        Class::Refresh::refresh("Class::Refresh") called at t/moose-metaclasses.t line 38
 at lib/Class/Refresh.pm line 121.
        Class::Refresh::catch {...} ("Can't locate Class/MOP/Class/Immutable/Moose/Meta/Class/__ANO"...) called at /home/kent/perl5/perlbrew/perls/perl-5.19.9/lib/site_perl/5.19.9/Try/Tiny.pm line 104
        Try::Tiny::try(CODE(0x284b028), Try::Tiny::Catch=REF(0x284bc88), Try::Tiny::Finally=REF(0x28803f8)) called at lib/Class/Refresh.pm line 126
        Class::Refresh::load_module("Class::Refresh", "Class::MOP::Class::Immutable::Moose::Meta::Class::__ANON__::S"...) called at lib/Class/Refresh.pm line 85
        Class::Refresh::refresh_module("Class::Refresh", "Foo::Meta::Class") called at lib/Class/Refresh.pm line 47
        Class::Refresh::refresh("Class::Refresh") called at t/moose-metaclasses.t line 38
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 5.

@doy doy closed this in 6792afe Feb 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment