summaryrefslogtreecommitdiff
path: root/spec/ruby/default.mspec
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/default.mspec')
-rw-r--r--spec/ruby/default.mspec16
1 files changed, 6 insertions, 10 deletions
diff --git a/spec/ruby/default.mspec b/spec/ruby/default.mspec
index 80d71c21e7..c8b1215f56 100644
--- a/spec/ruby/default.mspec
+++ b/spec/ruby/default.mspec
@@ -1,3 +1,4 @@
+# -*- ruby -*-
# Configuration file for Ruby >= 2.0 implementations.
class MSpecScript
@@ -19,8 +20,11 @@ class MSpecScript
# C extension API specs
set :capi, [ 'optional/capi' ]
+ # Thread safety specs
+ set :thread_safety, [ 'optional/thread_safety' ]
+
# A list of _all_ optional specs
- set :optional, get(:capi)
+ set :optional, get(:capi) + get(:thread_safety)
# An ordered list of the directories containing specs to run
set :files, get(:command_line) + get(:language) + get(:core) + get(:library) + get(:security) + get(:optional)
@@ -29,8 +33,6 @@ class MSpecScript
set :ci_files, get(:files)
# The default implementation to run the specs.
- # TODO: this needs to be more sophisticated since the
- # executable is not consistently named.
set :target, 'ruby'
set :backtrace_filter, /mspec\//
@@ -47,12 +49,6 @@ class MSpecScript
set :toplevel_constants_excludes, [
/\wSpecs?$/,
/^CS_CONST/,
+ /^CSL_CONST/,
]
-
- # Enable features
- MSpec.enable_feature :fiber
- MSpec.enable_feature :fiber_library
- MSpec.enable_feature :fork if respond_to?(:fork, true)
- MSpec.enable_feature :encoding
- MSpec.enable_feature :mjit if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
end