Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Got a module that is failing many of its smoke tests. Most of the failed tests report they can't find the Getopt::Args module. I must have some kind of misconfig or something in my dist:zilla. Here's my Makefile.PL:

use ExtUtils::MakeMaker; use File::ShareDir::Install; $File::ShareDir::Install::INCLUDE_DOTFILES = 1; $File::ShareDir::Install::INCLUDE_DOTDIRS = 1; install_share dist => "share"; my %WriteMakefileArgs = ( "ABSTRACT" => "Anki note generation made easy.", "AUTHOR" => "Steve Dondley <s\@dondley.com>", "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => 0, "File::ShareDir::Install" => "0.06" }, "DISTNAME" => "Anki-Import", "EXE_FILES" => [ "bin/anki_import" ], "LICENSE" => "perl", "NAME" => "Anki::Import", "PREREQ_PM" => { "Cwd" => 0, "Exporter" => 0, "Getopt::Args" => 0, "Log::Log4perl::Shortcuts" => "0.021", "strict" => 0, "warnings" => 0 }, "TEST_REQUIRES" => { "File::Path" => 0, "File::Spec" => 0, "Getopt::Args" => 0, "Test::Exception" => 0, "Test::More" => 0, "Test::Output" => 0, "Test::Warnings" => 0 }, "VERSION" => "0.029", "test" => { "TESTS" => "t/*.t" } ); my %FallbackPrereqs = ( "Cwd" => 0, "Exporter" => 0, "File::Path" => 0, "File::Spec" => 0, "Getopt::Args" => 0, "Log::Log4perl::Shortcuts" => "0.021", "Test::Exception" => 0, "Test::More" => 0, "Test::Output" => 0, "Test::Warnings" => 0, "strict" => 0, "warnings" => 0 ); unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { delete $WriteMakefileArgs{TEST_REQUIRES}; delete $WriteMakefileArgs{BUILD_REQUIRES}; $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; } delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; WriteMakefile(%WriteMakefileArgs); { package MY; use File::ShareDir::Install qw(postamble); }

And here's my dist.ini:

[Repository] ;[Bugtracker] ;web = http://github.com/sdondley/%s/issues [Git::NextVersion] [GitHub::Meta] [PodVersion] [PkgVersion] [NextRelease] [Run::AfterRelease] run = mv Changes tmp && cp %n-%v/Changes Changes [InstallGuide] [PodWeaver] [ReadmeAnyFromPod] type = markdown location = root phase = release [Git::Check] [Git::Commit] allow_dirty = README.mkdn allow_dirty = Changes allow_dirty = INSTALL [Git::Tag] [Git::Push] [Run::AfterRelease / MyAppAfter] run = mv tmp/Changes Changes [GatherDir] [AutoPrereqs] [Prereqs / TestRequires] Getopt::Args = 0 [PruneCruft] [PruneFiles] filename = weaver.ini filename = README.mkdn filename = dist.ini filename = .gitignore [ManifestSkip] [MetaYAML] [MetaJSON] [License] [Readme] [ExtraTests] [ExecDir] [ShareDir] [MakeMaker] [Manifest] [TestRelease] [ConfirmRelease] [UploadToCPAN] ;[FakeRelease]

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks


In reply to Blowing smoke tests by nysus

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2021-12-05 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?