develooper Front page | perl.cpan.testers | Postings from June 2002

Re: FAIL WordNet-QueryData-1.21 i386-linux 2.4.8-11mdkenterprise

From:
Autrijus Tang
Date:
June 12, 2002 08:31
Subject:
Re: FAIL WordNet-QueryData-1.21 i386-linux 2.4.8-11mdkenterprise
On Wed, Jun 12, 2002 at 11:02:02AM -0400, Jason Rennie wrote:
> That would work okay for people who use the module on unix, since I think 
> most of them set the environment variable anyway...

Well, make that

    die 'Please set $ENV{WNHOME}'
	unless $^O eq 'MSWin32' or exists $ENV{WNHOME};

should solve the problem.

> Can you simply not run automatic tests on my module?  Previously, tests 
> were run by hand.  They didn't happen immediately after I uploaded my 
> module, but the delay didn't cause any problems.

Well, you can do this in Makefile.PL to skip automatic testing altogether:

    die 'Smoking is bad for your health!'
	if $ENV{VISUAL} eq 'echo';

But that won't be very desirable, since smokers that _does_ have wordnet
installed on their computers would report meaningful responses.

Thanks,
/Autrijus/




Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About