зеркало из https://github.com/github/ruby.git
Pend some tests because these are not working with macOS 15 beta and Xcode 16 beta
This commit is contained in:
Родитель
fa6bf1da57
Коммит
371055979f
|
@ -2,6 +2,9 @@ require_relative '../../spec_helper'
|
|||
require_relative 'fixtures/common'
|
||||
|
||||
platform_is_not :windows do
|
||||
# macOS 15 beta is not working this examples
|
||||
return if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
|
||||
|
||||
describe :process_daemon_keep_stdio_open_false, shared: true do
|
||||
it "redirects stdout to /dev/null" do
|
||||
@daemon.invoke("keep_stdio_open_false_stdout", @object).should == ""
|
||||
|
|
|
@ -5,6 +5,8 @@ require_relative '../../lib/jit_support'
|
|||
|
||||
class TestBugReporter < Test::Unit::TestCase
|
||||
def test_bug_reporter_add
|
||||
pend "macOS 15 beta is not working with this test" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
|
||||
|
||||
omit "flaky with RJIT" if JITSupport.rjit_enabled?
|
||||
description = RUBY_DESCRIPTION.sub(/\+PRISM /, '')
|
||||
description = description.sub(/\+RJIT /, '') unless JITSupport.rjit_force_enabled?
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче