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'