1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix rb_bug message pattern list

"Other runtime information" section depends on platforms.
Make no expectation.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-02-13 11:51:03 +00:00
parent 00679d202d
commit 87b1d186f9

View file

@ -669,11 +669,8 @@ class TestRubyOptions < Test::Unit::TestCase
module SEGVTest
opts = {}
if /mswin|mingw|darwin/ =~ RUBY_PLATFORM
additional = /[\s\w\.\']*/
else
unless /mswin|mingw/ =~ RUBY_PLATFORM
opts[:rlimit_core] = 0
additional = nil
end
ExecOptions = opts.freeze
@ -709,13 +706,10 @@ class TestRubyOptions < Test::Unit::TestCase
)x,
%r(
(?:--\sOther\sruntime\sinformation\s-+\n
(?:\n\*\s.*\n
(?:\n(?:\s.*\n)+)?
)*
(?:.*\n)*
)?
)x,
]
ExpectedStderrList << additional if additional
end
def assert_segv(args, message=nil)