summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-02-13 15:59:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-02-13 18:01:03 +0900
commit4a67ef09ccd703047552b740431cfe15e32451f4 (patch)
tree1092e15836655fde8935c7788eb0a411e8c9ca42 /test/ruby/test_process.rb
parentd35cc0cc772b48c5aaba354e7084278da68f44e4 (diff)
[Feature #21116] Extract RJIT as a third-party gem
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12740
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index a882618cec..5a91e94b09 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -275,7 +275,7 @@ class TestProcess < Test::Unit::TestCase
end;
end
- MANDATORY_ENVS = %w[RUBYLIB GEM_HOME GEM_PATH RJIT_SEARCH_BUILD_DIR]
+ MANDATORY_ENVS = %w[RUBYLIB GEM_HOME GEM_PATH]
case RbConfig::CONFIG['target_os']
when /linux/
MANDATORY_ENVS << 'LD_PRELOAD'
@@ -1748,11 +1748,7 @@ class TestProcess < Test::Unit::TestCase
end
assert_send [sig_r, :wait_readable, 5], 'self-pipe not readable'
end
- if defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled? # checking -DRJIT_FORCE_ENABLE. It may trigger extra SIGCHLD.
- assert_equal [true], signal_received.uniq, "[ruby-core:19744]"
- else
- assert_equal [true], signal_received, "[ruby-core:19744]"
- end
+ assert_equal [true], signal_received, "[ruby-core:19744]"
rescue NotImplementedError, ArgumentError
ensure
begin