skip SEGV (BUG) tests if ENV['RUBY_ON_BUG'] is given.

This environment variable can show additional message on BUG.
This commit is contained in:
Koichi Sasada 2020-01-29 14:01:00 +09:00
Родитель 46173eeb64
Коммит 7b4b01424f
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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