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:
parent
9438c99590
commit
d1998d8767
Notes:
git
2021-06-29 23:46:18 +09:00
1 changed files with 6 additions and 0 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue