summaryrefslogtreecommitdiff
path: root/tool/test-bundled-gems.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2021-06-28 13:55:49 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-06-29 23:45:49 +0900
commitd1998d8767affe58be0bd09ec536dae9198a7fbd (patch)
treefdf112d9c3029436d11853faff49bfee7be31fdb /tool/test-bundled-gems.rb
parent9438c99590f5476a81cee8b4cf2de25084a40b42 (diff)
downloadruby-d1998d8767affe58be0bd09ec536dae9198a7fbd.tar.gz
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
Diffstat (limited to 'tool/test-bundled-gems.rb')
-rw-r--r--tool/test-bundled-gems.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb
index b9a1e559d4..53c88c196e 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|
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|