summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-12-12 14:33:49 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-03-15 18:03:28 -0700
commit87f7236b16b1ff446360defd3bcd6c52e6771ec7 (patch)
tree8c0a7cdf831f93f46812ba9a80171eba598d2e87 /spec/spec_helper.rb
parentfb61966bbc7a2d8920d772ff7f3f3fc8543b107d (diff)
downloadchef-87f7236b16b1ff446360defd3bcd6c52e6771ec7.tar.gz
Yum package provider rewrite
squash and rebase of all the work Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 78f8da7b51..c57c83e100 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -184,6 +184,16 @@ RSpec.configure do |config|
config.filter_run_excluding :broken => true
config.filter_run_excluding :not_wpar => true unless wpar?
config.filter_run_excluding :not_supported_under_fips => true if fips?
+ config.filter_run_excluding :rhel => true unless rhel?
+ config.filter_run_excluding :rhel5 => true unless rhel5?
+ config.filter_run_excluding :rhel6 => true unless rhel6?
+ config.filter_run_excluding :rhel7 => true unless rhel7?
+ config.filter_run_excluding :intel_64bit => true unless intel_64bit?
+ config.filter_run_excluding :not_rhel => true if rhel?
+ config.filter_run_excluding :not_rhel5 => true if rhel5?
+ config.filter_run_excluding :not_rhel6 => true if rhel6?
+ config.filter_run_excluding :not_rhel7 => true if rhel7?
+ config.filter_run_excluding :not_intel_64bit => true if intel_64bit?
# these let us use chef: ">= 13" or ruby: "~> 2.0.0" or any other Gem::Dependency-style constraint
config.filter_run_excluding chef: DependencyProc.with(Chef::VERSION)