1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Manage paths for bundler tests

This commit is contained in:
Nobuyoshi Nakada 2022-09-14 00:58:43 +09:00
parent 035978d7be
commit 2e324b645e
Notes: git 2022-09-14 11:27:27 +09:00

View file

@ -1475,7 +1475,10 @@ RSPECOPTS =
BUNDLER_SPECS = BUNDLER_SPECS =
test-bundler: $(TEST_RUNNABLE)-test-bundler test-bundler: $(TEST_RUNNABLE)-test-bundler
yes-test-bundler: yes-test-bundler-prepare 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) --require spec_helper $(RSPECOPTS) spec/bundler/$(BUNDLER_SPECS)
no-test-bundler: no-test-bundler:
@ -1483,6 +1486,7 @@ PARALLELRSPECOPTS = --runtime-log $(srcdir)/tmp/parallel_runtime_rspec.log
test-bundler-parallel: $(TEST_RUNNABLE)-test-bundler-parallel test-bundler-parallel: $(TEST_RUNNABLE)-test-bundler-parallel
yes-test-bundler-parallel: yes-test-bundler-prepare yes-test-bundler-parallel: yes-test-bundler-prepare
$(gnumake_recursive)$(XRUBY) \ $(gnumake_recursive)$(XRUBY) \
-r./$(arch)-fake \
-e "ARGV[-1] = File.expand_path(ARGV[-1])" \ -e "ARGV[-1] = File.expand_path(ARGV[-1])" \
-e "exec(*ARGV)" -- \ -e "exec(*ARGV)" -- \
$(XRUBY) -I$(srcdir)/spec/bundler \ $(XRUBY) -I$(srcdir)/spec/bundler \