aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-01-29 14:01:00 +0900
committerKoichi Sasada <ko1@atdot.net>2020-01-29 14:01:00 +0900
commit7b4b01424fe7448133c63e9415edf075a3c760b9 (patch)
treefe716bf52c89cef49c86976c445bc20543df2a21
parent46173eeb64245ff533dafddd3d74338763c0bb35 (diff)
downloadruby-7b4b01424fe7448133c63e9415edf075a3c760b9.tar.gz
skip SEGV (BUG) tests if ENV['RUBY_ON_BUG'] is given.
This environment variable can show additional message on BUG.
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index cac420422d..0aa253a74f 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -718,6 +718,8 @@ class TestRubyOptions < Test::Unit::TestCase
end
def assert_segv(args, message=nil)
+ skip if ENV['RUBY_ON_BUG']
+
test_stdin = ""
opt = SEGVTest::ExecOptions.dup
list = SEGVTest::ExpectedStderrList