>
> On Thu, Aug 16, 2001 at 07:15:23PM -0400, Sean Quinlan wrote:
> > OK, so here's the link to where the modules I've been working on polishing up
> > can be found:
> > ftp://mcclintock.bu.edu/BMERC/perl/CompBio/
> >
> > I would greatly appriciate any input on them. Particularly if you catch some
> > horrible error or oversight which is destined to bite me in the ass.
>
> Remove Makefile from MANIFEST. That's the only critical thing.
Good point. Sort of necesitates the use of .SKIP if you aren't building the MANIFEST
by hand.
Oh, BTW, I checked the docs again for MakeMAker, and manifest was not listed as a
valid target. I'll try to remember to email the author,
>
> Maybe avoid using a nonstandard module in the test script. Perhaps
> just skip the tests if it isn't installed, using something like:
>
> BEGIN {
> eval { require Test::More; };
> if ($@) {
> print "# this test requires the Test::More module.\n1..0\n";
> exit;
> }
> }
> use Test::More tests => 14;
Hmm, and remove the prereq from Makefile.PL? I think about it. Thanks for the handy
solution if I do decide to go that way!
> ...
>
> This satisfies the "test suite protocol" with "1..0". It's what
> produces the "skipping test on this platform" message from
> Test::Harness if you create a "t" directory and rename test.pl
> t/foo.t. (Useful if you write too many tests for one script.)
>
> -John
>