ruby-changes:54859
From: nobu <ko1@a...>
Date: Wed, 13 Feb 2019 20:36:19 +0900 (JST)
Subject: [ruby-changes:54859] nobu:r67064 (trunk): Fix rb_bug message pattern list
nobu 2019-02-13 20:36:15 +0900 (Wed, 13 Feb 2019) New Revision: 67064 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67064 Log: Fix rb_bug message pattern list Each setions are separated by an empty line, and C level backtrace information format has been changed. Modified files: trunk/test/ruby/test_rubyoptions.rb Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 67063) +++ test/ruby/test_rubyoptions.rb (revision 67064) @@ -669,7 +669,7 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L669 module SEGVTest opts = {} - if /mswin|mingw/ =~ RUBY_PLATFORM + if /mswin|mingw|darwin/ =~ RUBY_PLATFORM additional = /[\s\w\.\']*/ else opts[:rlimit_core] = 0 @@ -688,21 +688,32 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L688 (?:--\s(?:.+\n)*\n)? --\sControl\sframe\sinformation\s-+\n (?:c:.*\n)* + \n )x, %r( (?: --\sRuby\slevel\sbacktrace\sinformation\s----------------------------------------\n -e:1:in\s\`<main>\'\n -e:1:in\s\`kill\'\n + \n )? )x, %r( + (?:--\sMachine(?:.+\n)*\n)? + )x, + %r( (?: --\sC\slevel\sbacktrace\sinformation\s-------------------------------------------\n - (?:(?:.*\s)?\[0x\h+\]\n)*\n + (?:(?:.*\s)?\[0x\h+\].*\n|.*:\d+\n)*\n + )? + )x, + %r( + (?:--\sOther\sruntime\sinformation\s-+\n + (?:\n\*\s.*\n + (?:\n(?:\s.*\n)+)? + )* )? )x, - :*, ] ExpectedStderrList << additional if additional end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/