diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2021-12-27 22:28:15 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2021-12-27 22:30:34 -0800 |
commit | 3cd1731920c4fc038870e85dc8c9abf5739fbf71 (patch) | |
tree | 6e0460097580818ec49f110b96a08259c66740f1 /spec/ruby | |
parent | eb49aa311932665ce7ce67fb461e288f46b83c84 (diff) |
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
Diffstat (limited to 'spec/ruby')
-rw-r--r-- | spec/ruby/command_line/feature_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/ruby/command_line/feature_spec.rb b/spec/ruby/command_line/feature_spec.rb index 1a9ea925c9..4a24cc6795 100644 --- a/spec/ruby/command_line/feature_spec.rb +++ b/spec/ruby/command_line/feature_spec.rb @@ -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'} |