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:
parent
00679d202d
commit
87b1d186f9
1 changed files with 2 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue