Test failures are an indicator of either a bug or a problem with your system. In most cases, the latter should also be classified as a bug, unless the module author has documented that it should not, or is not intended to work on platform X.

As a first port of call, check the README or INSTALL. Just to make sure that this is a normal CPAN install.

Secondly, check CPAN testers to see what install problems, if any, have been encountered by the smoke testers. This is linked from the search.cpan.org module page.

Finally, check RT (also linked from the same place) to see if anyone else has reported this problem. If this is not the case, report the problem yourself to RT, which will result in the module author getting an email, and you have a ticket number that you can use to track progress.

As to whether to proceed installing a module with failing tests, "Caveat updator"; on your conscience be it. If you can work out what the tests/module _should_ be doing, stick a patch into the RT ticket; the author will in most cases be grateful.

--

Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)


In reply to Re: Test Failure Best Practices, or when is it ok to "force install" by rinceWind
in thread Test Failure Best Practices, or when is it ok to "force install" by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.