зеркало из https://github.com/github/ruby.git
Try to skip Prime_test.rb
This commit is contained in:
Родитель
8be4659b60
Коммит
f6e6d52b22
|
@ -34,6 +34,16 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
|
|||
when "typeprof"
|
||||
|
||||
when "rbs"
|
||||
# TODO: We should skip test file instead of test class/methods
|
||||
skip_test_files = %w[
|
||||
test/stdlib/Prime_test.rb
|
||||
]
|
||||
|
||||
skip_test_files.each do |file|
|
||||
path = "#{gem_dir}/src/#{gem}/#{file}"
|
||||
File.unlink(path) if File.exist?(path)
|
||||
end
|
||||
|
||||
test_command << " stdlib_test validate RBS_SKIP_TESTS=#{__dir__}/rbs_skip_tests SKIP_RBS_VALIDATION=true"
|
||||
first_timeout *= 3
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче