aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-12 10:02:42 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-12 13:18:28 +0900
commit8be4659b600d28f9f9b812ab2692a367260528d9 (patch)
tree62886048421149e79c39966f4bec06caf9c67aaa /tool
parent2ec181992b2f14c2f1c9b3bd94590f8503136f1c (diff)
downloadruby-8be4659b600d28f9f9b812ab2692a367260528d9.tar.gz
Run test-unit test without rake task to avoid yard dependency
Diffstat (limited to 'tool')
-rw-r--r--tool/test-bundled-gems.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb
index 5ec8cc5cc7..8f14739689 100644
--- a/tool/test-bundled-gems.rb
+++ b/tool/test-bundled-gems.rb
@@ -43,6 +43,9 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
# environment variable.
load_path = true
+ when "test-unit"
+ test_command = "#{ruby} -C #{gem_dir}/src/#{gem} test/run-test.rb"
+
when /\Anet-/
toplib = gem.tr("-", "/")