mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
fix remote-test functionality for windows
This commit is contained in:
parent
bc9f7d2f87
commit
3bd00f19bc
8
makefile
8
makefile
@ -90,6 +90,12 @@ ifneq (,$(filter mingw32 cygwin,$(build-platform)))
|
||||
path-separator = ;
|
||||
endif
|
||||
|
||||
target-path-separator = :
|
||||
|
||||
ifeq ($(platform),windows)
|
||||
target-path-separator = ;
|
||||
endif
|
||||
|
||||
library-path-variable = LD_LIBRARY_PATH
|
||||
|
||||
ifeq ($(build-platform),darwin)
|
||||
@ -1527,7 +1533,7 @@ endif
|
||||
$(build)/run-tests.sh: $(test-classes) makefile $(build)/extra-dir/multi-classpath-test.txt $(build)/test/multi-classpath-test.txt
|
||||
echo 'cd $$(dirname $$0)' > $(@)
|
||||
echo "sh ./test.sh 2>/dev/null \\" >> $(@)
|
||||
echo "$(shell echo $(library-path) | sed 's|$(build)|\.|g') ./$(name)-unittest${exe-suffix} ./$(notdir $(test-executable)) $(mode) \"-Djava.library.path=. -cp test$(path-separator)extra-dir\" \\" >> $(@)
|
||||
echo "$(shell echo $(library-path) | sed 's|$(build)|\.|g') ./$(name)-unittest${exe-suffix} ./$(notdir $(test-executable)) $(mode) \"-Djava.library.path=. -cp test$(target-path-separator)extra-dir\" \\" >> $(@)
|
||||
echo "$(call class-names,$(test-build),$(filter-out $(test-support-classes), $(test-classes))) \\" >> $(@)
|
||||
echo "$(continuation-tests) $(tail-tests)" >> $(@)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user