[前][次][番号順一覧][スレッド一覧]

ruby-changes:72704

From: Nobuyoshi <ko1@a...>
Date: Wed, 27 Jul 2022 17:37:07 +0900 (JST)
Subject: [ruby-changes:72704] 464f73a5f0 (master): Do not load library files from repository only for test

https://git.ruby-lang.org/ruby.git/commit/?id=464f73a5f0

From 464f73a5f0c1042bfefdd367b330cbdcafffca95 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 27 Jul 2022 17:36:45 +0900
Subject: 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.
---
 tool/test-bundled-gems.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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| https://github.com/ruby/ruby/blob/trunk/tool/test-bundled-gems.rb#L24
   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
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]