summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-27 17:36:45 +0900
committerGitHub <noreply@github.com>2022-07-27 17:36:45 +0900
commit464f73a5f0c1042bfefdd367b330cbdcafffca95 (patch)
tree89dc20d1a0710cf3d09ae9b1375ba7971b6be108
parent8154b176dee18284772d58c817851bd988e58742 (diff)
Do not load library files from repository only for test
What we want to test should be the bundled and to be installed files, but not the upstream.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6188 Merged-By: nobu <nobu@ruby-lang.org>
-rw-r--r--tool/test-bundled-gems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb
index ac27b9579c..12358b69cc 100644
--- a/tool/test-bundled-gems.rb
+++ b/tool/test-bundled-gems.rb
@@ -24,7 +24,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
next if ARGV.any? {|pat| !File.fnmatch?(pat, gem)}
puts "#{github_actions ? "##[group]" : "\n"}Testing the #{gem} gem"
- test_command = "#{ruby} -C #{gem_dir}/src/#{gem} -Ilib #{rake} test"
+ test_command = "#{ruby} -C #{gem_dir}/src/#{gem} #{rake} test"
first_timeout = 600 # 10min
toplib = gem