Subject: | Port from Moose to Moo incomplete |
Version 2.10 still needs Moose, due to the "no Moose" being left in at the bottom of the module. Attempting to run the test suite without Moose installed goes like this:
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/pod.t ........... ok
# Failed test 'Pod coverage on Array::Compare'
# at /usr/share/perl5/vendor_perl/Test/Pod/Coverage.pm line 133.
# Array::Compare: requiring 'Array::Compare' failed
# Looks like you failed 1 test of 1.
t/pod_coverage.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
# Failed test 'use Array::Compare;'
# at t/test.t line 5.
# Tried to use 'Array::Compare'.
# Error: Can't locate Moose.pm in @INC (you may need to install the Moose module) (@INC contains: /builddir/build/BUILD/Array-Compare-2.10/blib/lib /builddir/build/BUILD/Array-Compare-2.10/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /builddir/build/BUILD/Array-Compare-2.10/blib/lib/Array/Compare.pm line 453.
# BEGIN failed--compilation aborted at /builddir/build/BUILD/Array-Compare-2.10/blib/lib/Array/Compare.pm line 453.
# Compilation failed in require at t/test.t line 5.
# BEGIN failed--compilation aborted at t/test.t line 5.
Can't locate object method "DefFull" via package "Array::Compare" at /builddir/build/BUILD/Array-Compare-2.10/blib/lib/Array/Compare.pm line 286.
# Looks like you failed 1 test of 2.
# Looks like your test exited with 255 just after 2.
t/test.t ..........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/2 subtests
Test Summary Report
-------------------
t/pod_coverage.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/test.t (Wstat: 65280 Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Files=3, Tests=4, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.27 cusr 0.03 csys = 0.33 CPU)
Result: FAIL
Failed 2/3 test programs. 2/4 subtests failed.
Makefile:766: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255