summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-05-19 12:55:35 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2023-05-19 12:56:15 +0900
commit875adad948d48d13539075fff526fa5ecb5eba18 (patch)
tree9e17dd7fbde63da04695b854398e38da5abbdcc3 /test
parentb70e3f44c1d86fed92a63832fbf69a0764675ebb (diff)
The too-complex test isn't stablefor RJIT either
https://github.com/ruby/ruby/actions/runs/5020231516
Diffstat (limited to 'test')
-rw-r--r--test/objspace/test_objspace.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb
index 7752ff73c1..de2832d467 100644
--- a/test/objspace/test_objspace.rb
+++ b/test/objspace/test_objspace.rb
@@ -300,7 +300,8 @@ class TestObjSpace < Test::Unit::TestCase
assert_not_match(/"too_complex_shape"/, info)
tc.instance_variable_set(:@new_ivar, 1)
info = ObjectSpace.dump(tc)
- omit 'too flaky with YJIT' if defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled?
+ omit 'flaky with YJIT' if defined?(RubyVM::YJIT) && RubyVM::YJIT.enabled?
+ omit 'flaky with RJIT' if defined?(RubyVM::RJIT) && RubyVM::RJIT.enabled?
assert_match(/"too_complex_shape":true/, info)
if defined?(JSON)
assert_true(JSON.parse(info)["too_complex_shape"])