aboutsummaryrefslogtreecommitdiffstats
path: root/spec/mspec
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-23 08:29:20 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-23 08:29:20 +0000
commit359dd59db2512d801bb983f98bede4fc598f139a (patch)
treee6f548316191bbd4997c6a7224ba698f824bd1f8 /spec/mspec
parentea0cede5aa04ac22837befe5a690756e06ae195c (diff)
downloadruby-359dd59db2512d801bb983f98bede4fc598f139a.tar.gz
spec: skip Process wait specs on MJIT
until [Bug #14867] is fixed. I want to start running CI with MJIT enabled before fixing the problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/mspec')
-rw-r--r--spec/mspec/lib/mspec/guards/feature.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/mspec/lib/mspec/guards/feature.rb b/spec/mspec/lib/mspec/guards/feature.rb
index 30984e0cc5..4f1df1cabe 100644
--- a/spec/mspec/lib/mspec/guards/feature.rb
+++ b/spec/mspec/lib/mspec/guards/feature.rb
@@ -39,3 +39,9 @@ end
def with_feature(*features, &block)
FeatureGuard.new(*features).run_if(:with_feature, &block)
end
+
+MSpecEnv.class_eval do
+ def without_feature(*features, &block)
+ FeatureGuard.new(*features).run_unless(:without_feature, &block)
+ end
+end