diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2025-12-02 21:50:06 -0500 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2025-12-05 15:49:25 -0500 |
| commit | ee7923288fd4915199954f615980e516750cb8bb (patch) | |
| tree | bd40a87a9b9a8f7cb1bb4618a6168c1a4b07f026 | |
| parent | 786f67393875b0a5089da73504ac57179e8ef829 (diff) | |
ZJIT: Skip GC.auto_compact test when unsupported
| -rw-r--r-- | test/ruby/test_zjit.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_zjit.rb b/test/ruby/test_zjit.rb index 00550bbe20..45ee42e6a2 100644 --- a/test/ruby/test_zjit.rb +++ b/test/ruby/test_zjit.rb @@ -2421,6 +2421,7 @@ class TestZJIT < Test::Unit::TestCase end def test_require_rubygems_with_auto_compact + omit("GC.auto_compact= support is required for this test") unless GC.respond_to?(:auto_compact=) assert_runs 'true', %q{ GC.auto_compact = true require 'rubygems' |
