summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
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)