Skip to content

Commit

Permalink
Skip testing --enable-all in MinGW for now
Browse files Browse the repository at this point in the history
If we don't intend to support this platform, we should probably enable
MJIT for MinGW. However, since the code for https://bugs.ruby-lang.org/issues/18439
is in place, I'm adjusting the test for it in the meantime.

following up ruby/ruby#5363
  • Loading branch information
k0kubun authored and eregon committed Jan 10, 2022
1 parent eaf6b12 commit 4acc711
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion command_line/feature_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
ruby_exe("p 'foo'.frozen?", options: "--disable-frozen-string-literal").chomp.should == "false"
end

platform_is_not :darwin do # frequently hangs for >60s on GitHub Actions macos-latest
# frequently hangs for >60s on GitHub Actions macos-latest
# MinGW's YJIT support seems broken
platform_is_not :darwin, :mingw do
it "can be used with all for enable" do
e = "p [defined?(Gem), defined?(DidYouMean), $VERBOSE, 'foo'.frozen?]"
env = {'RUBYOPT' => '-w'}
Expand Down

0 comments on commit 4acc711

Please sign in to comment.