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/lib/ModPerl TestRun.pm
Date Wed, 05 Nov 2003 09:52:18 GMT
stas        2003/11/05 01:52:18

  Modified:    .        Makefile.PL Changes
               ModPerl-Registry/t TEST.PL
               lib/ModPerl TestRun.pm
  Log:
  When 'make test' fails we now print the info on what to do next
  
  Revision  Changes    Path
  1.129     +2 -2      modperl-2.0/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
  retrieving revision 1.128
  retrieving revision 1.129
  diff -u -u -r1.128 -r1.129
  --- Makefile.PL	5 Nov 2003 08:29:17 -0000	1.128
  +++ Makefile.PL	5 Nov 2003 09:52:18 -0000	1.129
  @@ -523,11 +523,11 @@
   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 -verbose=$(TEST_VERBOSE) $(TEST_FILES)
  +	t/TEST -bugreport -verbose=$(TEST_VERBOSE) $(TEST_FILES)
   	cd ModPerl-Registry && $(MAKE) test
   
   test :: pure_all run_tests test_clean
  
  
  
  1.244     +5 -0      modperl-2.0/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Changes,v
  retrieving revision 1.243
  retrieving revision 1.244
  diff -u -u -r1.243 -r1.244
  --- Changes	3 Nov 2003 09:29:50 -0000	1.243
  +++ Changes	5 Nov 2003 09:52:18 -0000	1.244
  @@ -12,6 +12,11 @@
   
   =item 1.99_11-dev - 
   
  +When 'make test' fails we now print the info on what to do next [Stas]
  +
  +At the end of 'make install' we now print the info how to proceed with
  +mod_perl and what to do in the case of post-install problems [Geoff]
  +
   Adjust the source to properly work with 5.8.2's new algorithm of
   dynamic re-hashing of hashes on hash collision attack. [Nicholas Clark
   <nick@ccl4.org>, Stas]. Add a test that mounts such an attack so we
  
  
  
  1.10      +5 -0      modperl-2.0/ModPerl-Registry/t/TEST.PL
  
  Index: TEST.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/t/TEST.PL,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -u -r1.9 -r1.10
  --- TEST.PL	26 Aug 2003 22:32:08 -0000	1.9
  +++ TEST.PL	5 Nov 2003 09:52:18 -0000	1.10
  @@ -36,3 +36,8 @@
   
       return $self->SUPER::new_test_config;
   }
  +
  +sub bug_report {
  +    require ModPerl::TestRun;
  +    shift->ModPerl::TestRun::bug_report();
  +}
  
  
  
  1.13      +10 -0     modperl-2.0/lib/ModPerl/TestRun.pm
  
  Index: TestRun.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/ModPerl/TestRun.pm,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -u -r1.12 -r1.13
  --- TestRun.pm	27 Aug 2003 17:19:12 -0000	1.12
  +++ TestRun.pm	5 Nov 2003 09:52:18 -0000	1.13
  @@ -18,6 +18,16 @@
       ModPerl::TestConfig->new($self->{conf_opts});
   }
   
  +sub bug_report {
  +    my $self = shift;
  +
  +    print <<EOI;
  ++--------------------------------------------------------+
  +| Please file a bug report: http://perl.apache.org/bugs/ |
  ++--------------------------------------------------------+
  +EOI
  +}
  +
   package ModPerl::TestConfig;
   
   use base qw(Apache::TestConfig);
  
  
  

Mime
View raw message