diff options
Diffstat (limited to 'spec/ruby/default.mspec')
| -rw-r--r-- | spec/ruby/default.mspec | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/spec/ruby/default.mspec b/spec/ruby/default.mspec index 1e8f8893aa..90f4c1ccaa 100644 --- a/spec/ruby/default.mspec +++ b/spec/ruby/default.mspec @@ -1,4 +1,3 @@ -# -*- ruby -*- # Configuration file for Ruby >= 2.0 implementations. class MSpecScript @@ -30,22 +29,24 @@ 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\// set :tags_patterns, [ - [%r(language/), 'tags/language/'], - [%r(core/), 'tags/core/'], - [%r(command_line/), 'tags/command_line/'], - [%r(library/), 'tags/library/'], - [%r(security/), 'tags/security/'], - [/_spec\.rb$/, '_tags.txt'] + [%r(language/), 'tags/1.9/language/'], + [%r(core/), 'tags/1.9/core/'], + [%r(command_line/), 'tags/1.9/command_line/'], + [%r(library/), 'tags/1.9/library/'], + [%r(security/), 'tags/1.9/security/'], + [/_spec.rb$/, '_tags.txt'] ] - 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 end |
