1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

skip SEGV test if RUBY_ON_BUG is specified

This commit is contained in:
Koichi Sasada 2020-02-13 04:20:22 +09:00
parent 99a8742067
commit 53a8b1486b

View file

@ -4,6 +4,8 @@ require 'tmpdir'
class TestBugReporter < Test::Unit::TestCase class TestBugReporter < Test::Unit::TestCase
def test_bug_reporter_add def test_bug_reporter_add
skip if ENV['RUBY_ON_BUG']
description = RUBY_DESCRIPTION description = RUBY_DESCRIPTION
description = description.sub(/\+JIT /, '') if RubyVM::MJIT.enabled? description = description.sub(/\+JIT /, '') if RubyVM::MJIT.enabled?
expected_stderr = [ expected_stderr = [