summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2026-02-06 19:56:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2026-02-06 19:56:39 +0900
commit49d2d3a28e405ec5a3050374b07ec580f8402492 (patch)
tree3c87384000c0e6d5096dd6051961b7d609a64ce8
parentd9674b155253a3510c1141601a5c557a72fd1f51 (diff)
Fix up GH-13520
The `-C` option takes precedence over the `-r` option. This means that the options `-r./$(arch)-fake -C $(srcdir)` try to load the file in the source directory rather than the build directory. [ci skip] because all CIs use `test-bundler-parallel` instead of this.
-rw-r--r--common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index d0393e1b62..f7061f8975 100644
--- a/common.mk
+++ b/common.mk
@@ -1644,7 +1644,8 @@ test-bundler: $(TEST_RUNNABLE)-test-bundler
yes-test-bundler: $(PREPARE_BUNDLER)
$(gnumake_recursive)$(XRUBY) \
-r./$(arch)-fake \
- -C $(srcdir) -Ispec/bundler -Ispec/lib spec/bin/rspec \
+ -I$(srcdir)/spec/bundler -I$(srcdir)/spec/lib \
+ -e 'Dir.chdir(ARGV.shift); load("spec/bin/rspec")' $(srcdir) \
-r spec_helper $(RSPECOPTS) spec/bundler/$(BUNDLER_SPECS)
no-test-bundler: