@@ -93,16 +93,7 @@ class MSpecScript
93
93
"spec/truffle/capi"
94
94
]
95
95
96
- set :ruby25 , [
97
- "spec/ruby/core/kernel/yield_self_spec.rb" ,
98
- "spec/ruby/core/method/case_compare_spec.rb" ,
99
- "spec/ruby/core/enumerable/all_spec.rb" ,
100
- "spec/ruby/core/enumerable/any_spec.rb" ,
101
- "spec/ruby/core/enumerable/none_spec.rb" ,
102
- "spec/ruby/core/enumerable/one_spec.rb" ,
103
- "spec/ruby/core/exception/full_message_spec.rb" ,
104
- "spec/ruby/core/hash/transform_keys_spec.rb" ,
105
- "spec/ruby/library/mathn/mathn_spec.rb" ,
96
+ set :next , [
106
97
]
107
98
108
99
set :backtrace_filter , /mspec\/ /
@@ -147,15 +138,15 @@ class MSpecScript
147
138
set :files , get ( :command_line ) + get ( :language ) + get ( :core ) + get ( :library ) + get ( :truffle ) + get ( :security )
148
139
149
140
# All specs, including specs needing C-extensions support.
150
- # 2.4/2.5 specs are not included as they need to run in a separate process.
141
+ # Next version specs are not included as they need to run in a separate process.
151
142
set :all , get ( :files ) + get ( :capi ) + get ( :truffle_capi ) + get ( :library_cext )
152
143
end
153
144
154
145
if MSpecScript . child_process?
155
146
if version = ENV [ "PRETEND_RUBY_VERSION" ]
156
147
::VersionGuard ::FULL_RUBY_VERSION = SpecVersion . new ( version )
157
- elsif ARGV . include? ":ruby25 "
158
- ::VersionGuard ::FULL_RUBY_VERSION = SpecVersion . new ( "2.5.3 " )
148
+ elsif ARGV . include? ":next "
149
+ ::VersionGuard ::FULL_RUBY_VERSION = SpecVersion . new ( "2.7.0 " )
159
150
end
160
151
161
152
# We do not use Ruby 2.5's FrozenError yet
0 commit comments