Geoffrey Young wrote:
and so on.  then use a custom TEST.PL file to specify your defines:

  if (eval { require 'AxKit' }) {
     Apache::TestRunPerl->new->run(@ARGV, '-defines', 'AXKIT');
  }
  else {
     Apache::TestRunPerl->new->run(@ARGV);
  }

HTH

--Geoff

It should also be possible to put this up a level in the Makefile.PL right above Apache::TestMM::filter_args(); shouldn't it?

   ...eval hocus  pocus...
   push @ARGV, '-defines', 'AXKIT';
   ...
   Apache::TestMM::filter_args();
   Apache::TestMM::generate_script('t/TEST');

I'd think that way I'd catch generate_script for both t/TEST and t/SMOKE.

-=Chris

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to