Skip to content

Commit

Permalink
MN: skip RUBY_DESCRIPTION spec on MN enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed Dec 22, 2023
1 parent a4b7372 commit 2fe9e08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/ruby/command_line/dash_v_spec.rb
Expand Up @@ -8,6 +8,7 @@
it "prints version and ends" do
ruby_exe(nil, args: '-v').should include(RUBY_DESCRIPTION)
end unless (defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled?) ||
(defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled?)
(defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled?) ||
(ENV['RUBY_MN_THREADS'] == '1')
end
end

0 comments on commit 2fe9e08

Please sign in to comment.