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

ruby-changes:73547

From: Nobuyoshi <ko1@a...>
Date: Wed, 14 Sep 2022 11:27:18 +0900 (JST)
Subject: [ruby-changes:73547] 2e324b645e (master): Manage paths for bundler tests

https://git.ruby-lang.org/ruby.git/commit/?id=2e324b645e

From 2e324b645e16e67c14de80ea34b1d61165045f22 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 14 Sep 2022 00:58:43 +0900
Subject: Manage paths for bundler tests

---
 common.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/common.mk b/common.mk
index 64d771fa1c..9d7b30b32b 100644
--- a/common.mk
+++ b/common.mk
@@ -1475,7 +1475,10 @@ RSPECOPTS = https://github.com/ruby/ruby/blob/trunk/common.mk#L1475
 BUNDLER_SPECS =
 test-bundler: $(TEST_RUNNABLE)-test-bundler
 yes-test-bundler: yes-test-bundler-prepare
-	$(gnumake_recursive)$(XRUBY) -C $(srcdir) -Ispec/bundler .bundle/bin/rspec \
+	$(gnumake_recursive)$(XRUBY) \
+		-r./$(arch)-fake \
+		-e "exec(*ARGV)" -- \
+		$(XRUBY) -C $(srcdir) -Ispec/bundler .bundle/bin/rspec \
 		--require spec_helper $(RSPECOPTS) spec/bundler/$(BUNDLER_SPECS)
 no-test-bundler:
 
@@ -1483,6 +1486,7 @@ PARALLELRSPECOPTS = --runtime-log $(srcdir)/tmp/parallel_runtime_rspec.log https://github.com/ruby/ruby/blob/trunk/common.mk#L1486
 test-bundler-parallel: $(TEST_RUNNABLE)-test-bundler-parallel
 yes-test-bundler-parallel: yes-test-bundler-prepare
 	$(gnumake_recursive)$(XRUBY) \
+		-r./$(arch)-fake \
 		-e "ARGV[-1] = File.expand_path(ARGV[-1])" \
 		-e "exec(*ARGV)" -- \
 		$(XRUBY) -I$(srcdir)/spec/bundler \
-- 
cgit v1.2.1


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

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