mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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>
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
|
||||||
next if ARGV.any? {|pat| !File.fnmatch?(pat, gem)}
|
next if ARGV.any? {|pat| !File.fnmatch?(pat, gem)}
|
||||||
puts "#{github_actions ? "##[group]" : "\n"}Testing the #{gem} 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
|
first_timeout = 600 # 10min
|
||||||
|
|
||||||
toplib = gem
|
toplib = gem
|
||||||
|
|
Loading…
Reference in a new issue