in reply to Re: Ridiculous "FAIL" reports from CPAN Testers
in thread Ridiculous "FAIL" reports from CPAN Testers

As a workaround (some might call it an abuse of the system) -- you can have your Makefile.PL die with the message "OS unsupported".

That's the sort of solution I was looking for. I think the element of abuse would be removed if CPAN::Reporter and CPANPLUS also searched for (something like) "System inadequate" ... or maybe there's a single phrase that caters for both scenarios.

But please come join the new cpan-testers-discuss mailing list and help us hash out a better approach

If that's the best way to get it sorted, then I'll do that. (Subscribing right now, but I might wait a day or two to see what else eventuates here before posting there.)

Thanks, as always, to *all* respondents.

Cheers,
Rob
  • Comment on Re^2: Ridiculous "FAIL" reports from CPAN Testers

Replies are listed 'Best First'.
Re^3: Ridiculous "FAIL" reports from CPAN Testers
by dsheroh (Monsignor) on Sep 24, 2007 at 14:21 UTC
    It seems to me that adding another flag value ("dependency not met" sounds better/more neutral to me than "system inadequate") would be better than trying to find a single phrase that can cover both situations, because they are, IMO, fundamentally different.

    Fixing a missing dependency (generally) only requires you to install it. Fixing an incorrect OS requires throwing out all of your existing software (and potentially most/all of your data with it) and replacing it with something else. Most people won't blink at installing a missing dependency, but few would change to a different OS just to use an unsupported module, so failures should report different results in each case.

      On the cpan-testers-discuss list, I suggested something along the lines of:

      die "Required library not installed: libfoo\n";

      This is specific and informative and easily parsed in the Makefile.PL output. The resulting report would be discarded rather than sent to CPAN Testers -- just like reports with missing Perl module prerequisites.

      Once a consensus emerges on cpan-testers-discuss on the right approach, I'll add it to CPAN::Reporter.

      -xdg

      Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.