mirror of
https://github.com/inspec/inspec
synced 2024-11-22 12:43:07 +00:00
Removed old test:isolated in favor of new one.
Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
5e7c6d87e6
commit
2cb05f2c66
1 changed files with 1 additions and 14 deletions
15
Rakefile
15
Rakefile
|
@ -86,19 +86,6 @@ namespace :test do
|
|||
puts missing.sort
|
||||
end
|
||||
|
||||
task :isolated do
|
||||
failures = Dir[*GLOBS]
|
||||
failures.reject! do |file|
|
||||
system(Gem.ruby, "-Ilib:test", file)
|
||||
end
|
||||
|
||||
unless failures.empty?
|
||||
puts "These test files failed:\n"
|
||||
puts failures
|
||||
raise "broken tests..."
|
||||
end
|
||||
end
|
||||
|
||||
# rubocop:disable Style/BlockDelimiters,Layout/ExtraSpacing,Lint/AssignmentInCondition
|
||||
|
||||
def n_threads_run(n_workers, jobs)
|
||||
|
@ -118,7 +105,7 @@ namespace :test do
|
|||
}.each(&:join)
|
||||
end
|
||||
|
||||
task :isolated2 do
|
||||
task :isolated do
|
||||
require "fileutils"
|
||||
require "thread"
|
||||
|
||||
|
|
Loading…
Reference in a new issue