[Bps-public-commit] r10284 - bpsbuilder/BPB/lib/BPB

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Jan 11 07:58:23 EST 2008


Author: sunnavy
Date: Fri Jan 11 07:58:22 2008
New Revision: 10284

Modified:
   bpsbuilder/BPB/lib/BPB/Build.pm

Log:
log it if we skip test

Modified: bpsbuilder/BPB/lib/BPB/Build.pm
==============================================================================
--- bpsbuilder/BPB/lib/BPB/Build.pm	(original)
+++ bpsbuilder/BPB/lib/BPB/Build.pm	Fri Jan 11 07:58:22 2008
@@ -104,9 +104,12 @@
             $cmd  = $_;
         }
 
-        next if $self->skip_test && $type eq 'test';
+        if ($self->skip_test && $type eq 'test') {
+            $self->log->info("skip build $type part in $dir");
+            next;
+        }
 
-        $self->log->info("build $type in $dir");
+        $self->log->info("build $type part in $dir");
 
         if ( system($cmd) ) {
             $self->log->error("build $dir with failure when run $type: $!");



More information about the Bps-public-commit mailing list