diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-06-12 11:29:25 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-06-12 13:18:28 +0900 |
commit | f6e6d52b226015063ea3ee002517911d41333648 (patch) | |
tree | 4e7a6aeb2c30d3bc32e0104eead50bbbedcf902b /tool | |
parent | 8be4659b600d28f9f9b812ab2692a367260528d9 (diff) | |
download | ruby-f6e6d52b226015063ea3ee002517911d41333648.tar.gz |
Try to skip Prime_test.rb
Diffstat (limited to 'tool')
-rw-r--r-- | tool/test-bundled-gems.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb index 8f14739689..9e39030e04 100644 --- a/tool/test-bundled-gems.rb +++ b/tool/test-bundled-gems.rb @@ -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 |