diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-03-25 14:58:19 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-03-25 14:59:15 +0900 |
commit | 12812c2bdf146805fedec79d299c2fa120a117fc (patch) | |
tree | 5ddac96d565c9439e3d731b67eaa696d9887108c /common.mk | |
parent | b25361f7319cac953145d9d15e2e673e560ec3d9 (diff) | |
download | ruby-12812c2bdf146805fedec79d299c2fa120a117fc.tar.gz |
Fix test-bundler-parallel errors when out-of-place build
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1384,13 +1384,14 @@ no-test-bundler: PARALLELRSPECOPTS = --runtime-log $(srcdir)/tmp/parallel_runtime_rspec.log test-bundler-parallel: $(TEST_RUNNABLE)-test-bundler-parallel yes-test-bundler-parallel: yes-test-bundler-prepare + d=`cd "$(srcdir)" && pwd` && \ $(XRUBY) -I$(srcdir)/spec/bundler \ -e "ENV['PARALLEL_TESTS_EXECUTABLE'] = ARGV.shift" \ -e "load ARGV.shift" \ "$(XRUBY) -C $(srcdir) -Ispec/bundler .bundle/bin/rspec" \ $(srcdir)/.bundle/bin/parallel_rspec \ -o "--require spec_helper" \ - $(PARALLELRSPECOPTS) $(srcdir)/spec/bundler/$(BUNDLER_SPECS) + $(PARALLELRSPECOPTS) "$$d"/spec/bundler/$(BUNDLER_SPECS) no-test-bundler-parallel: GEM = up |