perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-2.0 Makefile.PL Changes
Date Thu, 23 Jan 2003 05:16:30 GMT
stas        2003/01/22 21:16:30

  Modified:    .        Makefile.PL Changes
  Log:
  the top level 'make test' now descends into the ModPerl-Registry dir
  to run 'make test' there
  
  Revision  Changes    Path
  1.90      +24 -1     modperl-2.0/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- Makefile.PL	11 Jan 2003 03:20:54 -0000	1.89
  +++ Makefile.PL	23 Jan 2003 05:16:30 -0000	1.90
  @@ -29,7 +29,6 @@
   use Apache::TestReportPerl ();
   use Apache::TestSmokePerl ();
   use Apache::TestTrace;
  -use Apache::TestMM qw(test);
   use ModPerl::TestRun ();
   use ModPerl::Code ();
   use ModPerl::MM ();
  @@ -442,6 +441,30 @@
       ModPerl::MM::add_dep(\$string, clean => 'modperl_src_clean');
       ModPerl::MM::add_dep(\$string, clean => 'test_clean');
       $string;
  +}
  +
  +sub MY::test {
  +
  +    my $env = Apache::TestConfig->passenv_makestr();
  +
  +    my $preamble = Apache::TestConfig::WIN32 ? "" : <<EOF;
  +PASSENV = $env
  +EOF
  +
  +    return $preamble . <<'EOF';
  +test_clean :
  +	$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \
  +	t/TEST -clean
  +	
  +run_tests : test_clean
  +	$(PASSENV) \
  +	$(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) \
  +	t/TEST
  +	cd ModPerl-Registry && make test
  +
  +test :: pure_all run_tests test_clean
  +EOF
  +
   }
   
   sub MY::postamble {
  
  
  
  1.112     +3 -0      modperl-2.0/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Changes,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- Changes	23 Jan 2003 04:06:38 -0000	1.111
  +++ Changes	23 Jan 2003 05:16:30 -0000	1.112
  @@ -10,6 +10,9 @@
   
   =item 1.99_09-dev
   
  +the top level 'make test' now descend into the ModPerl-Registry dir
  +to run 'make test' there [Stas]
  +
   Apache::Test: don't inherit loading of the mod_perl object from the
   system-wide config, since we already add it [Stas]
   
  
  
  

Mime
View raw message