houseabsolute / List-SomeUtils

Provide the stuff missing in List::Util
https://metacpan.org/release/List-SomeUtils/
Other
5 stars 8 forks source link

Module::Implementation minimum version #11

Closed ikegami closed 1 year ago

ikegami commented 1 year ago

If the version of Module::Implementation that's installed is too old, one gets test failures.

Version 0.04 is needed.

$ cd Module-Implementation-0.03 && perl Makefile.PL && make install && cpan -f -t List::SomeUtils; cd ..
[...]
t/00-report-prereqs.t .. ok
t/ab.t ................. ok
t/Functions.t .......... 1/? Undefined subroutine &Module::Implementation::implementation_for called at /home/ikegami/.cpan/build/List-SomeUtils-0.58-6/blib/lib/List/SomeUtils.pm line 94.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 31.
t/Functions.t .......... Dubious, test returned 255 (wstat 65280, 0xff00)
All 31 subtests passed
t/Import.t ............. ok
t/pp-only.t ............ Undefined subroutine &Module::Implementation::implementation_for called at t/pp-only.t line 10.
t/pp-only.t ............ Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run

Test Summary Report
-------------------
t/Functions.t        (Wstat: 65280 Tests: 31 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/pp-only.t          (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=5, Tests=34,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.35 cusr  0.02 csys =  0.41 CPU)
Result: FAIL
Failed 2/5 test programs. 0/34 subtests failed.
make: *** [Makefile:893: test_dynamic] Error 255
  DROLSKY/List-SomeUtils-0.58.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports DROLSKY/List-SomeUtils-0.58.tar.gz

$ cd Module-Implementation-0.04 && perl Makefile.PL && make install && cpan -f -t List::SomeUtils; cd ..
[...]
t/00-report-prereqs.t .. ok
t/ab.t ................. ok
t/Functions.t .......... ok
t/Import.t ............. ok
t/pp-only.t ............ ok
All tests successful.
Files=5, Tests=45,  1 wallclock secs ( 0.12 usr  0.00 sys +  0.65 cusr  0.05 csys =  0.82 CPU)
Result: PASS
  DROLSKY/List-SomeUtils-0.58.tar.gz
  /usr/bin/make test -- OK
autarch commented 1 year ago

Thanks for the report. This is fixed in 0.59.