summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2025-09-21 17:30:51 +0200
committerBenoit Daloze <eregontp@gmail.com>2025-09-21 17:30:51 +0200
commit02299d68bcb0e6eabab2b973b28e9dafbafe6149 (patch)
tree7952c5c11c8e3ea821f9c73d123b70ff7113b03f
parent3ec597f619a739ef6518c1f0ac3f58a168983730 (diff)
Exclude failing GC finalizer tests with ASAN
* See https://bugs.ruby-lang.org/issues/21613
-rw-r--r--test/ruby/test_gc.rb4
1 files changed, 4 insertions, 0 deletions
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"