On Jan 7, 2008 11:02 AM, David Golden <[EMAIL PROTECTED]> wrote:
> On Jan 7, 2008 10:52 AM, Andy Armstrong <[EMAIL PROTECTED]> wrote:
> > Can anyone remember how Makefile.PL is supposed to exit if it can't
> > find, for example, an executable that it needs. I want the test result
> > to be NA rather than FAIL in that case.
>
> # before generating the Makefile
> exit 0;

Whoops.  Answered too quickly and should clarify:

* "exit 0" if you don't want a report to be sent

* die with the phrase "OS unsupported" if you want an NA report to be sent

The latter case is supposed to be for perl-version/architecture
unsupported only -- not for missing libraries or tools.  "exit 0" is
what you should use in the case you describe.

All these answers and more are available at the CPAN Testers Wiki:
http://cpantest.grango.org/wiki/CPANAuthorNotes

David

Reply via email to