summaryrefslogtreecommitdiff
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-13 14:01:57 +0900
commit34da58bd17af10099e2a8f771d8c6aaa038b6cbe (patch)
treedd931b89ddaf07ebfaa699ba3c44a41bfc6bd11a
parent1b2ad95c256b0ed5ff5658d752aeadcfed82268c (diff)
Try to skip Prime_test.rb
-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 aae58b4f61..b9dd17c808 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"
first_timeout *= 3