summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-12-05 14:39:03 +0900
committerKoichi Sasada <ko1@atdot.net>2019-12-05 14:47:31 +0900
commitedb80dfe3e6086fb9d5d905a40cdd6ec61a2e1ee (patch)
tree356517e8c333b449e6200481d0a21a961d5c1399 /test/ruby/test_rubyoptions.rb
parentc88afd532895a8527f7c9fffb2c635805d01f626 (diff)
add additional CF info for CI env
Introduce new RUBY_DEBUG option 'ci' to inform Ruby interpreter that an interpreter is running on CI environment. With this option, `rb_bug()` shows more information includes method entry information, local variables information for each control frame.
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index c7aa287705..496a51b970 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -674,7 +674,7 @@ class TestRubyOptions < Test::Unit::TestCase
%r(
(?:--\s(?:.+\n)*\n)?
--\sControl\sframe\sinformation\s-+\n
- (?:c:.*\n)*
+ (?:(?:c:.*\n)|(?:^\s+.+\n))*
\n
)x,
%r(