diff options
author | KJ Tsanaktsidis <kj@kjtsanaktsidis.id.au> | 2024-02-17 17:50:16 +1100 |
---|---|---|
committer | KJ Tsanaktsidis <kj@kjtsanaktsidis.id.au> | 2024-03-28 09:48:16 +1100 |
commit | 8c7b9bd0eb15356ac47407f7692869ad147c7954 (patch) | |
tree | 52cd8960b92bdb651e4feb6ca5fae96faf1112fd /test/ruby | |
parent | 7e12b03c5a179c1c738fec5ac1ad06dfdc879b1b (diff) |
Disable ASAN handle_segv in test_rubyoptions.rb
ASAN registers a sigsegv handler and causes extra output to be emitted
that these tests are not expecting.
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 446548d6d9..8396066dc1 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -865,6 +865,9 @@ class TestRubyOptions < Test::Unit::TestCase env = Hash === args.first ? args.shift : {} args.unshift("--yjit") if self.class.yjit_enabled? env.update({'RUBY_ON_BUG' => nil}) + # ASAN registers a segv handler which prints out "AddressSanitizer: DEADLYSIGNAL" when + # catching sigsegv; we don't expect that output, so suppress it. + env.update({'ASAN_OPTIONS' => 'handle_segv=0'}) args.unshift(env) test_stdin = "" |