Skip to content

Commit

Permalink
Now YJIT can be enabled on mswin64
Browse files Browse the repository at this point in the history
  • Loading branch information
unak committed Dec 27, 2021
1 parent 4e007d7 commit a74a2f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ruby/test_rubyoptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def test_version
%w(--version --jit --disable=jit),
%w(--version --enable=jit --disable=jit),
%w(--version --enable-jit --disable-jit),
] unless RUBY_PLATFORM.start_with?('x86_64-') && RUBY_PLATFORM !~ /mswin|mingw|msys/),
] unless /^x86_64|mswin64/ =~ RUBY_PLATFORM),
].each do |args|
assert_in_out_err([env] + args) do |r, e|
assert_match(VERSION_PATTERN, r[0])
Expand All @@ -251,7 +251,7 @@ def test_version
%w(--version --jit),
%w(--version --enable=jit),
%w(--version --enable-jit),
] unless RUBY_PLATFORM.start_with?('x86_64-') && RUBY_PLATFORM !~ /mswin|mingw|msys/),
] unless /^x86_64|mswin64/ =~ RUBY_PLATFORM),
].each do |args|
assert_in_out_err([env] + args) do |r, e|
assert_match(VERSION_PATTERN_WITH_JIT, r[0])
Expand Down

0 comments on commit a74a2f4

Please sign in to comment.