diff options
author | Kazuhiro NISHIYAMA <[email protected]> | 2021-03-25 18:06:06 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <[email protected]> | 2021-03-25 18:06:06 +0900 |
commit | f45bed0a6e983abfe616455ced2e50db381ba2dd (patch) | |
tree | 868d520e99e208041dda1edeb689bd76214fde4f | |
parent | e7dc6f2a3cee7e64272988e23e6eb3a4b03a1608 (diff) |
Use XRUBY to expand path instead of platform dependent
-rw-r--r-- | common.mk | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1385,14 +1385,16 @@ 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 \ + $(XRUBY) \ + -e "ARGV[-1] = File.expand_path(ARGV[-1])" \ + -e "exec(*ARGV)" -- \ + $(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) "$$d"/spec/bundler/$(BUNDLER_SPECS) + $(PARALLELRSPECOPTS) $(srcdir)/spec/bundler/$(BUNDLER_SPECS) no-test-bundler-parallel: GEM = up |