httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test Changes
Date Tue, 21 Oct 2003 01:24:24 GMT
stas        2003/10/20 18:24:24

  Modified:    perl-framework/Apache-Test/lib/Apache TestRun.pm
               perl-framework/Apache-Test Changes
  Log:
  don't do core files scan on win32, since it has no core files
  
  Revision  Changes    Path
  1.119     +9 -0      httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm
  
  Index: TestRun.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -u -r1.118 -r1.119
  --- TestRun.pm	21 Oct 2003 01:18:53 -0000	1.118
  +++ TestRun.pm	21 Oct 2003 01:24:24 -0000	1.119
  @@ -640,6 +640,9 @@
       my($self, $only_t_dir) = @_;
       my $vars = $self->{test_config}->{vars};
   
  +    # no core files dropped on win32
  +    return () if Apache::TestConfig::WIN32;
  +
       if ($only_t_dir) {
           require IO::Dir;
           my @cores = ();
  @@ -689,6 +692,9 @@
       my $vars = $self->{test_config}->{vars};
       my $times = 0;
   
  +    # no core files dropped on win32
  +    return if Apache::TestConfig::WIN32;
  +
       finddepth({ no_chdir => 1,
                   wanted   => sub {
           return unless -f $_;
  @@ -715,6 +721,9 @@
       my $self = shift;
       my $vars = $self->{test_config}->{vars};
       %core_files = (); # reset global
  +
  +    # no core files dropped on win32
  +    return if Apache::TestConfig::WIN32;
   
       finddepth(sub {
           return unless -f $_;
  
  
  
  1.55      +5 -0      httpd-test/perl-framework/Apache-Test/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/Changes,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -u -r1.54 -r1.55
  --- Changes	20 Oct 2003 20:22:56 -0000	1.54
  +++ Changes	21 Oct 2003 01:24:24 -0000	1.55
  @@ -8,6 +8,11 @@
   
   =item 1.05-dev
   
  +core scanning changes [Stas]
  +- speedup by not chdir'ing into subdirs
  +- an optional scanning of only t/ dir (used by TestSmoke)
  +- don't scan on win32, since it has no core files
  +
   in the autogenerated t/conf/modperl_inc.pl don't add the project/lib
   directory, unless a special env var APACHE_TEST_LIVE_DEV is true. This
   is because some projects change things in project/blib and pushing
  
  
  

Mime
View raw message