On Mon, Mar 29, 2010 at 11:51 PM, Alex J. Avriette <a...@cpan.org> wrote:
> I can create a new test, t/00_memory.t or something, to indicate whether this 
> is
> going to work at all, but the thing is, in order to test an entire TDMA
> "Day", we have to *construct* one. If the user hasn't got the juice, it's
> not going to work real well.

Hi, Alex.  You have a really unique module and it's likely not very
well suited for the kind of automated testing that is useful for other
modules -- none of the smokers are going to have that kind of memory.
The best thing to do is probably to just tell CPAN Testers to skip
your module entirely.  In your Makefile.PL, add this line right after
your use() statements before the call to WriteMakefile():

    exit 0 if $ENV{AUTOMATED_TESTING};

This will exit normally without creating a Makefile.  That is a signal
to CPAN Testers to abort without sending a fail report.  (Don't exit()
with a non-zero code or you'll get more FAIL reports!)

Also, as an unrelated note, I strongly suggest that you don't use
non-numerics in your distribution version.  E.g. "0.1pre".  This is
non-standard.  You also don't have a $VERSION set in your modules,
which makes it impossible for a CPAN client to determine whether to
install new versions when you release them.

Again, I strongly encourage you to set "our $VERSION=0.1" in your main
module and let ExtUtils::MakeMaker pick up the version using
"VERSION_FROM".

Regards,
David Golden

Reply via email to