Fellow supplicants, I seek wisdom. I'm seeing two related issues when building my first module. My assumption is "operator error", but I'm not sure where to look. The code:
https://github.com/LeamHall/bookbot
The first issue is that "./Build test" doesn't recursively go into the "t" directory. I have tests in "t/lib/*.t", and they do not get run with "./Build test".
The second issue is that "./Build disttest" ignores the MANIFEST.SKIP directive to not expect the archive directories. In MANIFEST.SKIP:
The error:# Avoid archives of this distribution \bbookbot-[\d\.\_]+ \bbookbot-.*\*
./Build disttest Created META.yml and META.json Creating bookbot-0.01 Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'bookbot' version '0.01' Building bookbot t/00-load.t ....... 1/? # Testing Book 0.03, Perl 5.030000, /usr/bin/p +erl t/00-load.t ....... ok t/manifest.t ...... 1/1 # Failed test at /usr/local/share/perl/5.30.0/Test/CheckManifest.pm +line 190. # got: 0 # expected: 1 # The following files are not named in the MANIFEST file: /home/leam/l +ang/git/LeamHall/bookbot/bookbot-0.01/_build/auto_features, /home/lea +m/lang/git/LeamHall/bookbot/bookbot-0.01/_build/build_params, /home/l +eam/lang/git/LeamHall/bookbot/bookbot-0.01/_build/cleanup, /home/leam +/lang/git/LeamHall/bookbot/bookbot-0.01/_build/config_data, /home/lea +m/lang/git/LeamHall/bookbot/bookbot-0.01/_build/features, /home/leam/ +lang/git/LeamHall/bookbot/bookbot-0.01/_build/magicnum, /home/leam/la +ng/git/LeamHall/bookbot/bookbot-0.01/_build/notes, /home/leam/lang/gi +t/LeamHall/bookbot/bookbot-0.01/_build/prereqs, /home/leam/lang/git/L +eamHall/bookbot/bookbot-0.01/_build/runtime_params # MANIFEST: /home/leam/lang/git/LeamHall/bookbot/bookbot-0.01/MANIFEST # Looks like you failed 1 test of 1. t/manifest.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/pod-coverage.t .. ok t/pod.t ........... ok Test Summary Report ------------------- t/manifest.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=4, Tests=10, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.39 cusr + 0.03 csys = 0.46 CPU) Result: FAIL Failed 1/4 test programs. 1/10 subtests failed. Error executing 'Build test' in dist directory at /usr/share/perl5/Mod +ule/Build/Base.pm line 4086.
Chronicler: The Domici War (domiciwar.net)
General Ne'er-do-well (github.com/LeamHall)
In reply to Issues with first module build by Leitz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |