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, 02 Mar 2004 17:49:37 GMT
stas        2004/03/02 09:49:37

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfigC.pm
               perl-framework/Apache-Test Changes
  Log:
  c-modules build errors are no longer ignored
  
  Revision  Changes    Path
  1.25      +5 -2      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigC.pm
  
  Index: TestConfigC.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigC.pm,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -u -r1.24 -r1.25
  --- TestConfigC.pm	8 Jan 2004 17:15:37 -0000	1.24
  +++ TestConfigC.pm	2 Mar 2004 17:49:36 -0000	1.25
  @@ -123,13 +123,13 @@
   
       for my $dir (@dirs) {
           for my $targ (@targets) {
  -            print $fh "$dir-$targ:\n\t-cd $dir && \$(MAKE) $targ\n\n";
  +            print $fh "$dir-$targ:\n\tcd $dir && \$(MAKE) $targ\n\n";
           }
   
           my $lib = $self->cmodules_build_so($dir);
           my $cfile = "$dir/mod_$dir.c";
           push @libs, "$dir/$lib";
  -        print $fh "$libs[-1]: $cfile\n\t-cd $dir && \$(MAKE) $lib\n\n";
  +        print $fh "$libs[-1]: $cfile\n\tcd $dir && \$(MAKE) $lib\n\n";
       }
   
       for my $targ (@targets) {
  @@ -211,6 +211,9 @@
       my $cmd = "cd $self->{cmodules_dir} && $Config{make} $targ";
       debug $cmd;
       system $cmd;
  +    if ($?) {
  +        die "Failed to build c-modules";
  +    }
   }
   
   sub cmodules_compile {
  
  
  
  1.99      +2 -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.98
  retrieving revision 1.99
  diff -u -u -r1.98 -r1.99
  --- Changes	26 Feb 2004 15:28:11 -0000	1.98
  +++ Changes	2 Mar 2004 17:49:37 -0000	1.99
  @@ -8,6 +8,8 @@
   
   =item 1.09-dev
   
  +c-modules build errors are no longer ignored [Stas]
  +
   change -DAPACHE1 (and like defines) to -D APACHE1 to fix Win32
   compatibility issues [Steve Hay]
   
  
  
  

Mime
View raw message