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

ruby-changes:66631

From: Yusuke <ko1@a...>
Date: Tue, 29 Jun 2021 23:46:13 +0900 (JST)
Subject: [ruby-changes:66631] d1998d8767 (master): tool/test-bundled-gems.rb: Stop tests conflicting with error_highlight

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

From d1998d8767affe58be0bd09ec536dae9198a7fbd Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Mon, 28 Jun 2021 13:55:49 +0900
Subject: tool/test-bundled-gems.rb: Stop tests conflicting with
 error_highlight

This hack should be removed after the minitest side is updated.
https://github.com/seattlerb/minitest/pull/880
---
 tool/test-bundled-gems.rb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb
index b9a1e55..53c88c1 100644
--- a/tool/test-bundled-gems.rb
+++ b/tool/test-bundled-gems.rb
@@ -27,6 +27,12 @@ File.foreach("#{gem_dir}/bundled_gems") do |line| https://github.com/ruby/ruby/blob/trunk/tool/test-bundled-gems.rb#L27
     first_timeout *= 3
   end
 
+  if gem == "minitest"
+    # Tentatively exclude some tests that conflict with error_highlight
+    # https://github.com/seattlerb/minitest/pull/880
+    test_command << " 'TESTOPTS=-e /test_stub_value_block_args_5__break_if_not_passed|test_no_method_error_on_unexpected_methods/'"
+  end
+
   puts test_command
   pid = Process.spawn(test_command, "#{/mingw|mswin/ =~ RUBY_PLATFORM ? 'new_' : ''}pgroup": true)
   {nil => first_timeout, INT: 30, TERM: 10, KILL: nil}.each do |sig, sec|
-- 
cgit v1.1


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

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