From 02299d68bcb0e6eabab2b973b28e9dafbafe6149 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 21 Sep 2025 17:30:51 +0200 Subject: Exclude failing GC finalizer tests with ASAN * See https://bugs.ruby-lang.org/issues/21613 --- test/ruby/test_gc.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 1c4561ed5a..a8a937f078 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -825,6 +825,8 @@ class TestGc < Test::Unit::TestCase end def test_exception_in_finalizer_procs + require '-test-/stack' + omit 'failing with ASAN' if Thread.asan? assert_in_out_err(["-W0"], "#{<<~"begin;"}\n#{<<~'end;'}", %w[c1 c2]) c1 = proc do puts "c1" @@ -845,6 +847,8 @@ class TestGc < Test::Unit::TestCase end def test_exception_in_finalizer_method + require '-test-/stack' + omit 'failing with ASAN' if Thread.asan? assert_in_out_err(["-W0"], "#{<<~"begin;"}\n#{<<~'end;'}", %w[c1 c2]) def self.c1(x) puts "c1" -- cgit v1.2.3