[Bps-public-commit] r15739 - Test-Chimps-Client/branches/modern-tap/lib/Test/Chimps

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


Author: alexmv
Date: Wed Sep  3 17:44:03 2008
New Revision: 15739

Modified:
   Test-Chimps-Client/branches/modern-tap/lib/Test/Chimps/Smoker.pm

Log:
 * Don't forget libs from other dists

Modified: Test-Chimps-Client/branches/modern-tap/lib/Test/Chimps/Smoker.pm
==============================================================================
--- Test-Chimps-Client/branches/modern-tap/lib/Test/Chimps/Smoker.pm	(original)
+++ Test-Chimps-Client/branches/modern-tap/lib/Test/Chimps/Smoker.pm	Wed Sep  3 17:44:03 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