summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-03 20:33:26 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-03 20:39:38 -0800
commit4782bb352eaedf934d204ea76956a26d07ec9bcf (patch)
tree98d5018fd58520d5d00f6ca671c32e7d5f90cdc5 /bootstraptest
parent8d31a60f47fb053bcfe0c744a89bd666dae48539 (diff)
downloadruby-4782bb352eaedf934d204ea76956a26d07ec9bcf.tar.gz
Another attempt to skip test_ractor on ci.rvm.jp
This reverts commit 8d31a60f47fb053bcfe0c744a89bd666dae48539.
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_ractor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/test_ractor.rb b/bootstraptest/test_ractor.rb
index 9318ddf90a..122994e555 100644
--- a/bootstraptest/test_ractor.rb
+++ b/bootstraptest/test_ractor.rb
@@ -1673,7 +1673,7 @@ assert_equal '30', %q{
}
# Selector#wait can support dynamic addition
-yjit_enabled = defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled?
+yjit_enabled = ENV.key?('RUBY_YJIT_ENABLE') || ENV.fetch('RUN_OPTS', '').include?('yjit') || BT.ruby.include?('yjit')
assert_equal '600', %q{
RN = 100
s = Ractor::Selector.new