summaryrefslogtreecommitdiff
path: root/test/ruby/test_vm_dump.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_vm_dump.rb')
-rw-r--r--test/ruby/test_vm_dump.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/ruby/test_vm_dump.rb b/test/ruby/test_vm_dump.rb
index 0f5b3d1680..d183e03391 100644
--- a/test/ruby/test_vm_dump.rb
+++ b/test/ruby/test_vm_dump.rb
@@ -4,10 +4,9 @@ require 'test/unit'
return unless /darwin/ =~ RUBY_PLATFORM
class TestVMDump < Test::Unit::TestCase
- def assert_darwin_vm_dump_works(args)
- pend "macOS 15 beta is not working with this assertion" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
-
- assert_in_out_err(args, "", [], /^\[IMPORTANT\]/, timeout: 60)
+ def assert_darwin_vm_dump_works(args, timeout=nil)
+ args.unshift({"RUBY_ON_BUG" => nil, "RUBY_CRASH_REPORT" => nil})
+ assert_in_out_err(args, "", [], /^\[IMPORTANT\]/, timeout: timeout || 300)
end
def test_darwin_invalid_call
@@ -15,7 +14,7 @@ class TestVMDump < Test::Unit::TestCase
end
def test_darwin_segv_in_syscall
- assert_darwin_vm_dump_works('-e1.times{Process.kill :SEGV,$$}')
+ assert_darwin_vm_dump_works(['-e1.times{Process.kill :SEGV,$$}'])
end
def test_darwin_invalid_access