in reply to PREREQ_PM ignored by cpan-tester
G'day Rob,
"What's the recommended way of avoiding such FAIL reports?"
The CPAN Testers Wiki has some information which may be relevant. The closest I can see is "How can I stop getting FAIL reports for missing libraries or other non-Perl dependencies?" (although there may be others of interest).
I had a similar issue (i.e. questionable FAIL reports) with Tk::ROSyntaxText: testers without an X server (or equivalent) running, who would be unable to run any Tk code, were issuing FAIL reports.
My solution was to add code like this to all appropriate tests:
my $mw = eval { MainWindow->new( -title => q{Tk::ROSyntaxText: 01.instantiate.t}, ); }; if ($mw) { plan tests => 3; } else { plan skip_all => q{No display detected.}; }
[If you're interested, the Changes file has some more information about that and the MANIFEST has links to all the test code.]
While I appreciate that won't be exactly applicable to your issue, it may provide some hints with respect to a direction to take.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PREREQ_PM ignored by cpan-tester
by syphilis (Archbishop) on Feb 01, 2016 at 11:57 UTC | |
by kcott (Archbishop) on Feb 02, 2016 at 08:59 UTC |