> if you haven't investigated Apache-Test yet, I would.  our custom make
> target look like this:

I forgot to add some A-T specific stuff :)

t/conf/modperl_extra.pl:

  if ($ENV{HARNESS_PERL_SWITCHES}) {
    eval {
      require Devel::Cover;
      Devel::Cover->import('+ignore' => 't/response/',
                           '+inc'    => "$ENV{TOPDIR}/lib",
                           '+inc'    => "$ENV{TOPDIR}/Apache-Test",
                           '-db'     => "$ENV{TOPDIR}/cover_db");
    };
    warn "Devel::Cover error: $@" if $@;
  }

  1;

t/conf/extra.conf.in

  PerlPassEnv TOPDIR
  PerlPassEnv HARNESS_PERL_SWITCHES

HTH

--Geoff

Reply via email to