mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Prepare for removing RubyVM::JIT (#5262)
This commit is contained in:
parent
a2839d7178
commit
1a63468831
Notes:
git
2021-12-14 16:08:06 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>
32 changed files with 64 additions and 67 deletions
|
@ -99,7 +99,7 @@ describe :io_write, shared: true do
|
|||
# For instance, MJIT creates a worker before @r.close with fork(), @r.close happens,
|
||||
# and the MJIT worker keeps the pipe open until the worker execve().
|
||||
# TODO: consider acquiring GVL from MJIT worker.
|
||||
guard_not -> { defined?(RubyVM::JIT) && RubyVM::JIT.enabled? } do
|
||||
guard_not -> { defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? } do
|
||||
it "raises Errno::EPIPE if the read end is closed and does not die from SIGPIPE" do
|
||||
@r.close
|
||||
-> { @w.send(@method, "foo") }.should raise_error(Errno::EPIPE, /Broken pipe/)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue