[Bps-public-commit] r19079 - Shipwright/trunk/share/bin
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue Apr 7 07:32:32 EDT 2009
Author: sunnavy
Date: Tue Apr 7 07:32:30 2009
New Revision: 19079
Modified:
Shipwright/trunk/share/bin/shipwright-builder
Log:
tweak test part of shipwright-builder
Modified: Shipwright/trunk/share/bin/shipwright-builder
==============================================================================
--- Shipwright/trunk/share/bin/shipwright-builder (original)
+++ Shipwright/trunk/share/bin/shipwright-builder Tue Apr 7 07:32:30 2009
@@ -576,20 +576,13 @@
}
sub test {
-
my $cmds = cmds( catfile( 't', 'test' ) );
-
for (@$cmds) {
my ( $type, $cmd ) = @$_;
print $log "run tests $type part with cmd: $cmd\n";
- if ( system($cmd ) ) {
- confess "something wrong when execute $cmd.";
- }
- else {
- print $log "Run test $type succeeded\n";
- }
+ # the return of system is not so uselful, so omit it
+ system($cmd);
}
- print $log "Ran tests successfully\n";
}
sub cmds {
More information about the Bps-public-commit
mailing list