fix bug in unit test code
so that we correctly capture test results
This commit is contained in:
4
Rakefile
4
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
|
||||
|
||||
Reference in New Issue
Block a user