add minimal rake task for runner tests

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
Dominik Richter 2015-09-15 14:59:23 +02:00
parent 45d59ab3f8
commit 8499919b15

View file

@ -36,4 +36,10 @@ namespace :test do
return if tests.empty?
sh(Gem.ruby, 'test/docker.rb', *tests)
end
task :runner do
concurrency = ENV['CONCURRENCY'] || 4
path = File.join(File.dirname(__FILE__), 'test', 'runner')
sh('sh', '-c', "cd #{path} && kitchen converge -c #{concurrency}")
end
end