Separated load path for test-bundler tasks for Windows

This commit is contained in:
Hiroshi SHIBATA 2024-12-12 15:01:46 +09:00
parent 52be46ab50
commit 6a1aaf3679
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -1680,7 +1680,7 @@ yes-test-bundler: $(PREPARE_BUNDLER)
$(gnumake_recursive)$(XRUBY) \
-r./$(arch)-fake \
-e "exec(*ARGV)" -- \
$(XRUBY) -C $(srcdir) -Ispec/bundler:spec/lib .bundle/bin/rspec \
$(XRUBY) -C $(srcdir) -Ispec/bundler -Ispec/lib .bundle/bin/rspec \
-r spec_helper $(RSPECOPTS) spec/bundler/$(BUNDLER_SPECS)
no-test-bundler:
@ -1694,7 +1694,7 @@ yes-test-bundler-parallel: $(PREPARE_BUNDLER)
-e "ARGV[-1] = File.expand_path(ARGV[-1])" \
-e "ENV['PARALLEL_TESTS_EXECUTABLE'] = ruby + ARGV.shift" \
-e "load ARGV.shift" \
" -C $(srcdir) -Ispec/bundler:spec/lib .bundle/bin/rspec -r spec_helper" \
" -C $(srcdir) -Ispec/bundler -Ispec/lib .bundle/bin/rspec -r spec_helper" \
$(srcdir)/spec/bin/parallel_rspec $(RSPECOPTS) \
$(PARALLELRSPECOPTS) $(srcdir)/spec/bundler/$(BUNDLER_SPECS)
no-test-bundler-parallel: