On Thu, Feb 4, 2010 at 3:07 PM, Slaven_Rezic via RT
<bug-CPAN-Reporter@rt.cpan.org> wrote:
Show quoted text> What exactly do you mean with PASS/FAIL? Neither string does not seem to
> appear in the test output. Do you mean the exit code of "make test"?
Yes. If exit code is 0, then it's graded PASS, otherwise FAIL.
FWIW, the same thing happens under Makefile.PL if there is a test.pl
file, since test.pl isn't run through Test::Harness by Makefile.PL.
(Build.PL does run test.pl through Test::Harness).
Show quoted text> And do you have a suggestion how I can force an UNKNOWN grade in such a
> case? I think of emitting a proper "skip_all" call, i.e. producing
> output like
>
> 1..0 # SKIP some reason
I'm not sure. Maybe don't write a "test" section to the Makefile?
The latest CPAN::Reporter (1.1709) detects that and makes it UNKNOWN.
Unfortunately, 1.1709 is failing tests and not universally adopted and
I don't know what CPANPLUS does. I'd ask on the cpan-testers-discuss
list for suggestions.
-- David