in reply to Ridiculous "FAIL" reports from CPAN Testers
If you read the grade definitions, this particular case is properly graded as a "FAIL" -- but I agree with you that it's probably shouldn't be since, conceptually, it's a failure in a prerequisite. This is part of the broader problem of how CPAN distributions can/should specify non-perl dependencies (e.g. libraries, OS, etc.).
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 will be detected by CPAN::Reporter or CPANPLUS and will cause your module to be graded "NA" instead of "FAIL".
But please come join the new cpan-testers-discuss mailing list and help us hash out a better approach. Email cpan-testers-discuss-subscribe@perl.org to join.
Update -- please note:
The "OS unsupported" answer is a hack and a bad one that pollutes the CPAN Testers database. "OS unsupported" should be reserved for a case where the module in question will never work on the platform in question. I don't want to encourage this since it's an easy enough case to fix in the CPAN Testers toolchain itself.
-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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ridiculous "FAIL" reports from CPAN Testers
by jettero (Monsignor) on Sep 24, 2007 at 11:21 UTC | |
by xdg (Monsignor) on Sep 24, 2007 at 11:29 UTC | |
by jettero (Monsignor) on Sep 24, 2007 at 12:06 UTC | |
|
Re^2: Ridiculous "FAIL" reports from CPAN Testers
by syphilis (Archbishop) on Sep 24, 2007 at 12:31 UTC | |
by dsheroh (Monsignor) on Sep 24, 2007 at 14:21 UTC | |
by xdg (Monsignor) on Sep 24, 2007 at 17:11 UTC |