summaryrefslogtreecommitdiff
path: root/test/-ext-
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-02-13 04:20:22 +0900
committerKoichi Sasada <ko1@atdot.net>2020-02-13 04:20:22 +0900
commit53a8b1486b0e020858aa04f004aa22f4396a1bd0 (patch)
treee224eaf8e9a45a4f58b86ddfa045f01137e5186c /test/-ext-
parent99a8742067ba262eb324615bfac770d1aea53b07 (diff)
skip SEGV test if RUBY_ON_BUG is specified
Diffstat (limited to 'test/-ext-')
-rw-r--r--test/-ext-/bug_reporter/test_bug_reporter.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb
index 576628d..628fcd0 100644
--- a/test/-ext-/bug_reporter/test_bug_reporter.rb
+++ b/test/-ext-/bug_reporter/test_bug_reporter.rb
@@ -4,6 +4,8 @@ require 'tmpdir'
class TestBugReporter < Test::Unit::TestCase
def test_bug_reporter_add
+ skip if ENV['RUBY_ON_BUG']
+
description = RUBY_DESCRIPTION
description = description.sub(/\+JIT /, '') if RubyVM::MJIT.enabled?
expected_stderr = [