![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
cpanplus test suite seems to be a bit ruinousby Intrepid (Deacon) |
on May 03, 2025 at 21:01 UTC ( [id://11164925]=perlquestion: print w/replies, xml ) | Need Help?? |
Intrepid has asked for the wisdom of the Perl Monks concerning the following question: The Seekers of Perl Wisdom may not be the best place in the known universe for a bug report, but I know the maintainer of the module I am struggling with, bingos, is active here. So here goes. The test suite for cpanplus is the creature we need to tame.I am working with cpanplus v0.9916 and on CygwinPerl v5.40.2 First off, Params::Validate reports an error, exact text shown below, in Dist/MM.pm: Key 'dir' (t/20_CPANPLUS-Dist-MM.t) is of invalid type for 'CPANPLUS::Internals::Utils::_chdir' provided by CPANPLUS::Dist::MM::create at /cygdrive/c/Users/somia/AppData/Local/.cpanp/.cpanplus/5.40.2/build/nDoXKs5RLj/CPANPLUS-0.9916/t/../lib/CPANPLUS/Dist/MM.pm line 610. I inserted some dumb simple code to check what is being passed, the output is: ---------------------------------------------------------------------------- Args being passed to Params::Validate: dir|t/20_CPANPLUS-Dist-MM.t ---------------------------------------------------------------------------- I will provide a plate of Buffalo chicken wings to the monk or nun that can work out why that error is appearing. ;-) I've looked and looked and cannot figure it out. The next matter is equally baffling. I have DBD::SQLite installed to my system but the test suite reports skipping test because "SQLite engine not available": t/031_CPANPLUS-Internals-Source-SQLite.t ...... skipped: SQLite engine not available t/032_CPANPLUS-Internals-Source-via-sqlite.t .. skipped: SQLite engine not available Lastly, the tests in the suite themselves seem to be out of order somehow: Test Summary Report ------------------- t/20_CPANPLUS-Dist-MM.t (Wstat: 0 Tests: 87 Failed: 77) Failed tests: 1, 1, 1, 1, 11-83 Parse errors: Plan (1..1) must be at the beginning or end of the TAP output Tests out of sequence. Found (1) but expected (11) Tests out of sequence. Found (11) but expected (12) Tests out of sequence. Found (12) but expected (13) Tests out of sequence. Found (13) but expected (14) Displayed the first 5 of 83 TAP syntax errors. Re-run prove with the -p option to see them all. Files=20, Tests=1712, 82 wallclock secs ( 0.34 usr 0.47 sys + 20.69 cusr 50.89 csys = 72.40 CPU) Result: FAIL Failed 1/20 test programs. 77/1712 subtests failed. Anyone able to provide suggestions for how to seek and destroy these annoying errors will have my sincere gratitude. May 03, 2025 at 21:01 UTCA just machine to make big decisions
Back to
Seekers of Perl Wisdom
|
|