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 st...@apache.org on 2003/05/15 05:26:18 UTC

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

stas        2003/05/14 20:26:18

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfig.pm
  Log:
  remove eval {} around require Apache::Build, since it's ensured to exist
  since we already check for IS_MOD_PERL_2. The problem with that eval {}
  was, is that it was hiding failures of Apache::Build's loading. (mostly
  caused by multiple circular use() of each other via other modules).
  
  Revision  Changes    Path
  1.161     +1 -1      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
  
  Index: TestConfig.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
  retrieving revision 1.160
  retrieving revision 1.161
  diff -u -r1.160 -r1.161
  --- TestConfig.pm	30 Apr 2003 05:03:36 -0000	1.160
  +++ TestConfig.pm	15 May 2003 03:26:18 -0000	1.161
  @@ -15,7 +15,7 @@
       eval { require mod_perl } && $mod_perl::VERSION >= 1.99;
   
   use constant IS_MOD_PERL_2_BUILD => IS_MOD_PERL_2 &&
  -    eval { require Apache::Build } && Apache::Build::IS_MOD_PERL_BUILD();
  +    require Apache::Build && Apache::Build::IS_MOD_PERL_BUILD();
   
   use Symbol ();
   use File::Copy ();