mudler / Mojolicious-Plugin-Angular-MaterialDesign

Bundle MaterialDesign for angular in your mojolicious app
Other
1 stars 1 forks source link

Test suite started to fail #1

Open eserte opened 8 years ago

eserte commented 8 years ago
Output from '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/usr/perl5.16.3t/bin/perl5.16.3" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_compile.t .. ok
[AssetPack] Could not auto detect out_dir: Neither readable, nor writeable 'packed' directory could be found in static paths, /usr/perl5.16.3t/lib/site_perl/5.16.3/public. Maybe you forgot to 
pre-pack the assets? https://metacpan.org/pod/Mojolicious::Plugin::AssetPack::Manual::Cookbook at /usr/perl5.16.3t/lib/site_perl/5.16.3/Mojolicious/Plugin/AssetPack.pm line 179, <DATA> line 21
25.
t/01-include.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

Possible reason: a change in Mojolicious::Plugin::AssetPack 0.67 and later (at least statistical analsyis suggests this).

eserte commented 8 years ago

With recent Mojolicious versions (?) it looks like this:

# Loading DEPRECATED Mojolicious::Plugin::AssetPack::Backcompat.
Can't locate Mojolicious/Plugin/AssetPack/Backcompat.pm in @INC (you may need to install the Mojolicious::Plugin::AssetPack::Backcompat module) (@INC contains: /tmpfs/.cpan-build-cpansand/2016082621/Mojolicious-Plugin-Angular-MaterialDesign-0.603-0/blib/lib /tmpfs/.cpan-build-cpansand/2016082621/Mojolicious-Plugin-Angular-MaterialDesign-0.603-0/blib/arch /opt/perl-5.25.4/lib/site_perl/5.25.4/x86_64-linux /opt/perl-5.25.4/lib/site_perl/5.25.4 /opt/perl-5.25.4/lib/5.25.4/x86_64-linux /opt/perl-5.25.4/lib/5.25.4 .) at /opt/perl-5.25.4/lib/site_perl/5.25.4/Mojolicious/Plugin/AssetPack.pm line 124.
t/01-include.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
mudler commented 8 years ago

Thanks for reporting, it should be fixes with the new release https://github.com/mudler/Mojolicious-Plugin-Angular-MaterialDesign/commit/274d0bbe489b8cb0c5b9e98eebdfca3536b4ef8c