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:

# Avoid archives of this distribution \bbookbot-[\d\.\_]+ \bbookbot-.*\*
The error:
./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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.