Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Blowing smoke tests

by nysus (Parson)
on Sep 19, 2018 at 00:16 UTC ( [id://1222623]=perlquestion: print w/replies, xml ) Need Help??

nysus has asked for the wisdom of the Perl Monks concerning the following question:

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

Replies are listed 'Best First'.
Re: Blowing smoke tests
by tinita (Parson) on Sep 19, 2018 at 07:32 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1222623]
Approved by beech
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found