mirror of
https://github.com/inspec/inspec
synced 2025-02-16 14:08:36 +00:00
Allow warning disable via environment
Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
parent
5d7c7502ab
commit
945324a625
1 changed files with 3 additions and 3 deletions
6
Rakefile
6
Rakefile
|
@ -54,7 +54,7 @@ namespace :test do
|
|||
Rake::TestTask.new(:default) do |t|
|
||||
t.libs << 'test'
|
||||
t.test_files = Dir[*GLOBS].sort
|
||||
t.warning = true
|
||||
t.warning = ENV.fetch("W", true)
|
||||
t.verbose = !!ENV["V"] # default to off. the test commands are _huge_.
|
||||
t.ruby_opts = ['--dev'] if defined?(JRUBY_VERSION)
|
||||
end
|
||||
|
@ -112,7 +112,7 @@ namespace :test do
|
|||
'test/functional/**/*_test.rb',
|
||||
'lib/plugins/inspec-*/test/functional/**/*_test.rb',
|
||||
])
|
||||
t.warning = true
|
||||
t.warning = ENV.fetch("W", true)
|
||||
t.verbose = !!ENV["V"] # default to off. the test commands are _huge_.
|
||||
t.ruby_opts = ['--dev'] if defined?(JRUBY_VERSION)
|
||||
end
|
||||
|
@ -125,7 +125,7 @@ namespace :test do
|
|||
'test/unit/**/*_test.rb',
|
||||
'lib/plugins/inspec-*/test/unit/**/*_test.rb',
|
||||
])
|
||||
t.warning = true
|
||||
t.warning = ENV.fetch("W", true)
|
||||
t.verbose = !!ENV["V"] # default to off. the test commands are _huge_.
|
||||
t.ruby_opts = ['--dev'] if defined?(JRUBY_VERSION)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue