You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by do...@apache.org on 2003/01/11 02:58:51 UTC

cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfigParse.pm

dougm       2003/01/10 17:58:51

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfigParse.pm
  Log:
  mod_jk requires JkWorkerFile or JkWorker to be configured
  skip it for now, tomcat has its own test suite anyhow.
  
  Revision  Changes    Path
  1.27      +8 -1      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm
  
  Index: TestConfigParse.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- TestConfigParse.pm	23 May 2002 17:26:38 -0000	1.26
  +++ TestConfigParse.pm	11 Jan 2003 01:58:51 -0000	1.27
  @@ -84,7 +84,14 @@
       'mod_modperl.c'       => 'mod_perl.c',
   );
   
  -sub should_load_module { 1 }
  +#XXX mod_jk requires JkWorkerFile or JkWorker to be configured
  +#skip it for now, tomcat has its own test suite anyhow.
  +my %skip_modules = map { $_, 1 } qw(mod_jk.c);
  +
  +sub should_load_module {
  +    my($self, $name) = @_;
  +    return $skip_modules{$name} ? 0 : 1;
  +}
   
   #inherit LoadModule
   sub inherit_load_module {