Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Silence CPAN Testers on obviously broken platforms?

by Anonymous Monk
on Nov 19, 2012 at 15:46 UTC ( #1004565=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Silence CPAN Testers on obviously broken platforms?
in thread Silence CPAN Testers on obviously broken platforms?

Nope, see http://wiki.cpantesters.org/wiki/CPANAuthorNotes

exit 0 means Makefile.PL succeeded , so rating could PASS ,FAIL, or UNKNOWN, depends on subsequent steps

exit 2 means Makefile.PL died , so rating could be FAIL or NA depending on message

exit 0 and 'Makefile' not created , rating is UNKNOWN

exit 0 and 'Makefile' created, rating depends 'make' and 'make test' to determine PASS or FAIL

Now at one point the cpan testers reporting service mixed up these conventions I described, started treating NA as FAIL and UNKNOWN as NA or some such mix of results (not important now)...

So follow CPANAuthorNotes, to avoid FAIL, exit 0 to get UNKNOWN, or Devel::AssertOS to get NA

UNKNOWN is safer than NA, cause some Win32 modules can run on linux, and some day they might all run on linux :)

NA is like the faulty practice of parsing user-agent-string or testing browser version details to determine if the client supports cookies and ajax

UNKNOWN is like trying to set a cookie to see if cookies are supported or checking if document.XMLHttpRequest is available to know if ajax is supported


Comment on Re^3: Silence CPAN Testers on obviously broken platforms?
Replies are listed 'Best First'.
Re^4: Silence CPAN Testers on obviously broken platforms?
by davido (Archbishop) on Nov 19, 2012 at 17:33 UTC

    Excellent summary, that somehow derives a greater degree of clarity out of the CPAN Testers documentation than the documentation itself manages. This thread just got added to my Personal Nodelet. :)


    Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004565]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2015-07-31 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls