aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-12 11:29:25 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-12 13:18:28 +0900
commitf6e6d52b226015063ea3ee002517911d41333648 (patch)
tree4e7a6aeb2c30d3bc32e0104eead50bbbedcf902b /tool
parent8be4659b600d28f9f9b812ab2692a367260528d9 (diff)
downloadruby-f6e6d52b226015063ea3ee002517911d41333648.tar.gz
Try to skip Prime_test.rb
Diffstat (limited to 'tool')
-rw-r--r--tool/test-bundled-gems.rb10
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