mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
Pend some tests because these are not working with macOS 15 and Xcode 16
This commit is contained in:
parent
3bea0abd68
commit
e548ff67ea
5 changed files with 11 additions and 0 deletions
|
@ -2,6 +2,9 @@ require_relative '../../spec_helper'
|
||||||
require_relative 'fixtures/common'
|
require_relative 'fixtures/common'
|
||||||
|
|
||||||
platform_is_not :windows do
|
platform_is_not :windows do
|
||||||
|
# macOS 15 is not working this examples
|
||||||
|
return if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
|
||||||
|
|
||||||
describe :process_daemon_keep_stdio_open_false, shared: true do
|
describe :process_daemon_keep_stdio_open_false, shared: true do
|
||||||
it "redirects stdout to /dev/null" do
|
it "redirects stdout to /dev/null" do
|
||||||
@daemon.invoke("keep_stdio_open_false_stdout", @object).should == ""
|
@daemon.invoke("keep_stdio_open_false_stdout", @object).should == ""
|
||||||
|
|
|
@ -9,6 +9,8 @@ class TestBugReporter < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_bug_reporter_add
|
def test_bug_reporter_add
|
||||||
|
pend "macOS 15 is not working with this test" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
|
||||||
|
|
||||||
omit if ENV['RUBY_ON_BUG']
|
omit if ENV['RUBY_ON_BUG']
|
||||||
|
|
||||||
description = RUBY_DESCRIPTION
|
description = RUBY_DESCRIPTION
|
||||||
|
|
|
@ -1837,6 +1837,8 @@ class TestProcess < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_daemon_noclose
|
def test_daemon_noclose
|
||||||
|
pend "macOS 15 is not working with this test" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
|
||||||
|
|
||||||
data = IO.popen("-", "r+") do |f|
|
data = IO.popen("-", "r+") do |f|
|
||||||
break f.read if f
|
break f.read if f
|
||||||
Process.daemon(false, true)
|
Process.daemon(false, true)
|
||||||
|
|
|
@ -787,6 +787,8 @@ class TestRubyOptions < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def assert_segv(args, message=nil)
|
def assert_segv(args, message=nil)
|
||||||
|
pend "macOS 15 is not working with this assertion" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
|
||||||
|
|
||||||
omit if ENV['RUBY_ON_BUG']
|
omit if ENV['RUBY_ON_BUG']
|
||||||
|
|
||||||
# We want YJIT to be enabled in the subprocess if it's enabled for us
|
# We want YJIT to be enabled in the subprocess if it's enabled for us
|
||||||
|
|
|
@ -3,6 +3,8 @@ require 'test/unit'
|
||||||
|
|
||||||
class TestVMDump < Test::Unit::TestCase
|
class TestVMDump < Test::Unit::TestCase
|
||||||
def assert_darwin_vm_dump_works(args)
|
def assert_darwin_vm_dump_works(args)
|
||||||
|
pend "macOS 15 is not working with this assertion" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
|
||||||
|
|
||||||
omit if RUBY_PLATFORM !~ /darwin/
|
omit if RUBY_PLATFORM !~ /darwin/
|
||||||
assert_in_out_err(args, "", [], /^\[IMPORTANT\]/)
|
assert_in_out_err(args, "", [], /^\[IMPORTANT\]/)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue