update unit test rake task
update formatting fix success check
This commit is contained in:
8
Rakefile
8
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'
|
||||
|
||||
Reference in New Issue
Block a user