> -----Original Message-----
> From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 10, 2001 11:11 PM
> To: Geoffrey Young
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: more Apache::Test stuff...
>
>
[snip]
>
> > sub MY::test {
>
> and change this to something like:
> sub MY::test {
> return Apache::TestMM->test if eval { require Apache::TestMM };
>
> return <<'EOF';
> test:
> @echo This test suite requires Apache::Test
> @echo available from the mod_perl 2.0 sources
> EOF
> }
much better, thanks.
>
> do you have Apache::Test working against 1.xx apache/mod_perl?
> i know it works against 1.3 servers, but have not tested that with
> mod_perl. if it is working, i can put a version of
> Apache-Test on cpan.
>
it works fine against 1.3 mod_perl. I've been writing a test suite for
Apache::Dispatch consisting of a few different <Locations> and the like.
The only problem I was having was that I had to put
use lib qw(../blib/lib ../blib/arch);
in my modperl_extras.pl - the tests run with /usr/bin/perl -Iblib/arch
-Iblib/lib but PerlModule apparently doesn't see those directories, which
may or may not have been expected, depending on who you are :)
it would be nice to have those in by default for the test suite - it took me
a while to figure out that my tests were running on my installed module
instead of the one I was testing :)
--Geoff
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]