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.
This commit is contained in:
parent
8154b176de
commit
464f73a5f0
Notes:
git
2022-07-27 17:37:15 +09:00
Merged: https://github.com/ruby/ruby/pull/6188 Merged-By: nobu <nobu@ruby-lang.org>
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user