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

Re^2: CPAN Smoke Tests: Some platforms are meant to be broken

by saintmike (Vicar)
on Aug 22, 2011 at 00:02 UTC ( #921562=note: print w/ replies, xml ) Need Help??


in reply to Re: CPAN Smoke Tests: Some platforms are meant to be broken
in thread CPAN Smoke Tests: Some platforms are meant to be broken

Right, and a module might just magically work on a platform that the author never intended it to function on. Or a new platform ("QuantComp128"), might spring into existence which it might work on, although the author never heard of it.

I like your idea of using "unsupported_platforms" meta info that lists platforms that the author knows the tests will fail on, but considers that normal or doesn't care.

unsupported_platforms: - Win32
would then alert the smokers to mark the appropriate column in the matrix specially and refrain from sending out emails to the authors with the failed test suite results, because the results are actually considered to be a fulfilled prophecy.


Comment on Re^2: CPAN Smoke Tests: Some platforms are meant to be broken
Download Code
Re^3: CPAN Smoke Tests: Some platforms are meant to be broken (code over data)
by tye (Cardinal) on Aug 22, 2011 at 05:48 UTC

    I'd prefer the use of code to determine if the platform is unsupported over trying to standardize a data format for such declarations [for example, you might declare a platform as unsupported because it lacks the quantumflux.h file or because the quantumflux.h files does not define entangle() or because there is no /proc/torhock present].

    Plus, the use of code to make such determinations is already supported, it just isn't documented sufficiently conveniently.

    - tye        

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2014-10-30 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls