1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
Yusuke Endoh 2021-06-28 13:55:49 +09:00
parent 9438c99590
commit d1998d8767
Notes: git 2021-06-29 23:46:18 +09:00

View file

@ -27,6 +27,12 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
first_timeout *= 3 first_timeout *= 3
end 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 puts test_command
pid = Process.spawn(test_command, "#{/mingw|mswin/ =~ RUBY_PLATFORM ? 'new_' : ''}pgroup": true) 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| {nil => first_timeout, INT: 30, TERM: 10, KILL: nil}.each do |sig, sec|