[前][次][番号順一覧][スレッド一覧]

ruby-changes:60026

From: Koichi <ko1@a...>
Date: Thu, 13 Feb 2020 04:20:38 +0900 (JST)
Subject: [ruby-changes:60026] 53a8b1486b (master): skip SEGV test if RUBY_ON_BUG is specified

https://git.ruby-lang.org/ruby.git/commit/?id=53a8b1486b

From 53a8b1486b0e020858aa04f004aa22f4396a1bd0 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Thu, 13 Feb 2020 04:20:22 +0900
Subject: skip SEGV test if RUBY_ON_BUG is specified


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' https://github.com/ruby/ruby/blob/trunk/test/-ext-/bug_reporter/test_bug_reporter.rb#L4
 
 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 = [
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]