1
0
Fork 0
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:
Nobuyoshi Nakada 2022-07-27 17:36:45 +09:00 committed by GitHub
parent 8154b176de
commit 464f73a5f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>

View file

@ -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