Author: DagoldenDagolden
Date: Jul 4, 2007 07:08
On 7/4/07, Barbie missbarbell.co.uk> wrote:
> Hi David,
>
>> - UNKNOWN results when prereqs are missing are downgraded to NA (just
>> like FAIL reports with missing prereqs already were)
>
> This is wrong. If a distribution has prereqs missing from
> Makefile.PL/Build.PL then it should receive a FAIL report. If the tool
> chain fails to install the prereq, then the report should be abandoned
> and not sent at all.
I don't think it's wrong -- but we are using the phrase "prereqs are
missing" differently. CPAN::Reporter checks to see if any of the
prereqs specified in the Makefile.PL or Build.PL are missing (i.e. not
installed). This can happen if the tests were run anyway despite
missing prereqs (e.g. "force test"). In such cases, CPAN::Reporter
"downgrades" the detected test grade from FAIL to NA -- indicating
that the report results are meaningless. Since NA reports by default
aren't sent to the list or the author, it also avoids sending out such
useless results.
|