From 8077585c2917db18eacd96b11eff8dc3a4231c48 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Tue, 26 Mar 2013 11:33:14 -0700 Subject: [PATCH] fix bug in unit test code so that we correctly capture test results --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 4b1483c..d265c16 100644 --- a/Rakefile +++ b/Rakefile @@ -159,8 +159,8 @@ namespace :test do desc 'run openstack puppet module unit tests' task :unit do - status = command = "export MODULEPATH=#{base_dir}/modules;export GEM_HOME=#{base_dir}/.vendor;" - ['cinder', 'nova', 'glance', 'openstack', 'keystone', 'horizon', 'swift'].collect do |proj| + command = "export MODULEPATH=#{base_dir}/modules;export GEM_HOME=#{base_dir}/.vendor;" + status = ['cinder', 'nova', 'glance', 'openstack', 'keystone', 'horizon', 'swift'].collect do |proj| Dir.chdir("modules/#{proj}") do local_command = command + "bundle exec rake spec_standalone" puts local_command