From 875adad948d48d13539075fff526fa5ecb5eba18 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 19 May 2023 12:55:35 +0900 Subject: The too-complex test isn't stablefor RJIT either https://github.com/ruby/ruby/actions/runs/5020231516 --- test/objspace/test_objspace.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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"]) -- cgit v1.2.3