1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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 https://github.com/ruby/ruby/pull/5363
This commit is contained in:
Takashi Kokubun 2021-12-27 22:28:15 -08:00
parent eb49aa3119
commit 3cd1731920
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -43,7 +43,9 @@ describe "The --enable and --disable flags" do
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'}