summaryrefslogtreecommitdiff
path: root/test/-ext-/bug_reporter
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-/bug_reporter
parent99a8742067ba262eb324615bfac770d1aea53b07 (diff)
skip SEGV test if RUBY_ON_BUG is specified
Diffstat (limited to 'test/-ext-/bug_reporter')
-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 576628d63e..628fcd0340 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 = [