On Thu, 10 May 2001, Geoffrey Young wrote:

> hi again...
> 
>   ok, I've been working on a way to make a proper Makefile.PL that warns at
> 'make test' if you don't have Apache::Test installed.
> 
>   it's probably my meager understanding of ExtUtils and make, but this is
> all I could find that worked:
> 
> eval {
>   require Apache::TestMM;
>   Apache::TestMM->import('test');
> };

skip that part.
 
> 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
}

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.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to