mirror of
https://github.com/inspec/inspec
synced 2024-09-20 14:31:58 +00:00
remove rake tasks for runner tests
they are now found in train
This commit is contained in:
parent
dcb0b8e557
commit
6a51a5be00
2 changed files with 1 additions and 12 deletions
11
Rakefile
11
Rakefile
|
@ -37,15 +37,4 @@ namespace :test do
|
|||
return if tests.empty?
|
||||
sh(Gem.ruby, 'test/docker_test.rb', *tests)
|
||||
end
|
||||
|
||||
task :docker_runner do
|
||||
path = File.join(File.dirname(__FILE__), 'test', 'runner')
|
||||
sh('sh', '-c', "cd #{path} && config=test-runner.yaml ruby -I ../../lib docker_test.rb tests/*")
|
||||
end
|
||||
|
||||
task :local_runner do
|
||||
concurrency = ENV['CONCURRENCY'] || 4
|
||||
path = File.join(File.dirname(__FILE__), 'test', 'runner')
|
||||
sh('sh', '-c', "cd #{path} && kitchen test -c #{concurrency}")
|
||||
end
|
||||
end
|
||||
|
|
|
@ -12,7 +12,7 @@ module Vulcano
|
|||
def initialize(profile_id, backend, profile_registry: {}, only_ifs: [])
|
||||
if backend.nil?
|
||||
fail 'ProfileContext is initiated with a backend == nil. ' \
|
||||
'This is a backend error which must be fixed upstream.'
|
||||
'This is a backend error which must be fixed upstream.'
|
||||
end
|
||||
|
||||
@profile_id = profile_id
|
||||
|
|
Loading…
Reference in a new issue