Skip to content

Commit

Permalink
Try to skip Prime_test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jun 12, 2023
1 parent 8be4659 commit f6e6d52
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tool/test-bundled-gems.rb
Expand Up @@ -34,6 +34,16 @@
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

Expand Down

0 comments on commit f6e6d52

Please sign in to comment.