Skip to content

Commit 4acc711

Browse files
k0kubuneregon
authored andcommitted
Skip testing --enable-all in MinGW for now
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
1 parent eaf6b12 commit 4acc711

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

command_line/feature_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
ruby_exe("p 'foo'.frozen?", options: "--disable-frozen-string-literal").chomp.should == "false"
4444
end
4545

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

0 commit comments

Comments
 (0)