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

ruby-changes:59875

From: Koichi <ko1@a...>
Date: Wed, 29 Jan 2020 14:02:49 +0900 (JST)
Subject: [ruby-changes:59875] 7b4b01424f (master): skip SEGV (BUG) tests if ENV['RUBY_ON_BUG'] is given.

https://git.ruby-lang.org/ruby.git/commit/?id=7b4b01424f

From 7b4b01424fe7448133c63e9415edf075a3c760b9 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Wed, 29 Jan 2020 14:01:00 +0900
Subject: skip SEGV (BUG) tests if ENV['RUBY_ON_BUG'] is given.

This environment variable can show additional message on BUG.

diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index cac4204..0aa253a 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -718,6 +718,8 @@ class TestRubyOptions < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L718
   end
 
   def assert_segv(args, message=nil)
+    skip if ENV['RUBY_ON_BUG']
+
     test_stdin = ""
     opt = SEGVTest::ExecOptions.dup
     list = SEGVTest::ExpectedStderrList
-- 
cgit v0.10.2


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

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