[Bps-public-commit] r15740 - in Test-Chimps-Client/trunk: lib/Test/Chimps

alexmv at bestpractical.com alexmv at bestpractical.com
Wed Sep 3 17:44:18 EDT 2008


Author: alexmv
Date: Wed Sep  3 17:44:18 2008
New Revision: 15740

Modified:
   Test-Chimps-Client/trunk/   (props changed)
   Test-Chimps-Client/trunk/lib/Test/Chimps/Smoker.pm

Log:
 r36854 at kohr-ah (orig r15739):  alexmv | 2008-09-03 17:44:03 -0400
  * Don't forget libs from other dists


Modified: Test-Chimps-Client/trunk/lib/Test/Chimps/Smoker.pm
==============================================================================
--- Test-Chimps-Client/trunk/lib/Test/Chimps/Smoker.pm	(original)
+++ Test-Chimps-Client/trunk/lib/Test/Chimps/Smoker.pm	Wed Sep  3 17:44:18 2008
@@ -322,10 +322,11 @@
 
   my $projectdir = File::Spec->catdir($tmpdir, $project->{root_dir});
 
+  my @otherlibs;
   if (defined $project->{dependencies}) {
     foreach my $dep (@{$project->{dependencies}}) {
       print "processing dependency $dep\n";
-      $self->_checkout_project($self->_config->{$dep}, 'HEAD');
+      push @otherlibs, $self->_checkout_project($self->_config->{$dep}, 'HEAD');
     }
   }
 
@@ -339,7 +340,7 @@
 
   @libs = map {File::Spec->catdir($tmpdir, $project->{root_dir}, $_)} @libs;
 
-  return @libs;
+  return @libs, @otherlibs;
 }
 
 sub _list_dbs {



More information about the Bps-public-commit mailing list