Giter Site home page Giter Site logo

class-refresh's People

Contributors

amacleay avatar doy avatar michaelr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

michaelr amacleay

class-refresh's Issues

Test 'got the right list of modified modules' may fail

On some of my smokers:

#   Failed test 'got the right list of modified modules'
#   at t/other-api.t line 25.
#     Structures begin differing at:
#          $got->[1] = Does not exist
#     $expected->[1] = 'Foo::Bar'
# Looks like you failed 1 test of 15.
t/other-api.t .......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/15 subtests 

Just a guess: there's a module Foo::Bar on CPAN --- maybe the test fails if this module is installed?

t/moose-metaclasses.t fails tests

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.