From 2c0daa1777a1da647d7e5e4d048ec834c65301c1 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Fri, 22 Mar 2013 14:48:58 -0700 Subject: [PATCH] update unit test rake task update formatting fix success check --- Rakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index e1035c8..4b1483c 100644 --- a/Rakefile +++ b/Rakefile @@ -162,12 +162,12 @@ namespace :test do status = command = "export MODULEPATH=#{base_dir}/modules;export GEM_HOME=#{base_dir}/.vendor;" ['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 - system(local_command) + local_command = command + "bundle exec rake spec_standalone" + puts local_command + system(local_command) end end.uniq - status == ['true'] ? exit(0) : exit(1) + exit 1 if status != [true] end desc 'reset test environment'