summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-07-12 12:35:58 +0900
committerHiroshi SHIBATA <[email protected]>2024-07-12 13:38:22 +0900
commit371055979f4e367e90d7af4140e92fd3824bce2a (patch)
treeb516fcf001b1b6196b6c0a14b281315a9096c0ee /test/ruby
parentfa6bf1da576430c1db0ff1d68fb9b5992a1d71c8 (diff)
Pend some tests because these are not working with macOS 15 beta and Xcode 16 beta
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_process.rb2
-rw-r--r--test/ruby/test_rubyoptions.rb4
-rw-r--r--test/ruby/test_vm_dump.rb2
3 files changed, 8 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 7ef184d639..e2f82dde5e 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -1869,6 +1869,8 @@ class TestProcess < Test::Unit::TestCase
end
def test_daemon_noclose
+ pend "macOS 15 beta is not working with this test" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
+
data = IO.popen("-", "r+") do |f|
break f.read if f
Process.daemon(false, true)
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 0c27172701..3215f25f92 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -857,6 +857,8 @@ class TestRubyOptions < Test::Unit::TestCase
end
def assert_segv(args, message=nil, list: SEGVTest::ExpectedStderrList, **opt, &block)
+ pend "macOS 15 beta is not working with this assertion" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
+
# We want YJIT to be enabled in the subprocess if it's enabled for us
# so that the Ruby description matches.
env = Hash === args.first ? args.shift : {}
@@ -900,6 +902,8 @@ class TestRubyOptions < Test::Unit::TestCase
end
def assert_crash_report(path, cmd = nil, &block)
+ pend "macOS 15 beta is not working with this assertion" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
+
Dir.mktmpdir("ruby_crash_report") do |dir|
list = SEGVTest::ExpectedStderrList
if cmd
diff --git a/test/ruby/test_vm_dump.rb b/test/ruby/test_vm_dump.rb
index f0dc04ba2a..0f5b3d1680 100644
--- a/test/ruby/test_vm_dump.rb
+++ b/test/ruby/test_vm_dump.rb
@@ -5,6 +5,8 @@ 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)
end