@@ -25,42 +25,47 @@ EMBEDDING_ARGS := "JULIA=$(JULIA_EXECUTABLE)" "BIN=$(SRCDIR)/embedding" "CC=$(CC
2525GCEXT_ARGS := "JULIA=$(JULIA_EXECUTABLE ) " "BIN=$(SRCDIR ) /gcext" "CC=$(CC ) "
2626
2727TRIMMING_ARGS := "JULIA=$(JULIA_EXECUTABLE ) " "BIN=$(SRCDIR ) /trimming" "CC=$(CC ) "
28+ TEST_JULIA_OPTIONS := --check-bounds=yes --startup-file=no --depwarn=error
29+ TEST_SCRIPT_OPTIONS := --buildroot=$(call cygpath_w,$(BUILDROOT ) )
2830
2931default :
3032
3133$(TESTS ) :
3234 @cd $(SRCDIR ) && \
33- $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE ) ) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl $@ )
35+ $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE ) ) $(TEST_JULIA_OPTIONS ) ./runtests.jl $(TEST_SCRIPT_OPTIONS ) $@ )
36+
37+ install-revise-deps :
38+ $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE ) ) $(TEST_JULIA_OPTIONS ) ./runtests.jl $(TEST_SCRIPT_OPTIONS ) --revise)
3439
3540$(addprefix revise-, $(TESTS ) ) : revise-% :
3641 @cd $(SRCDIR ) && \
37- $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl --revise $*)
42+ $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) $(TEST_JULIA_OPTIONS) ./runtests.jl $(TEST_SCRIPT_OPTIONS) --revise $*)
3843
3944relocatedepot :
4045 @rm -rf $(SRCDIR ) /relocatedepot
4146 @cd $(SRCDIR ) && \
42- $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE ) ) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl $@ )
47+ $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE ) ) $( TEST_JULIA_OPTIONS ) ./runtests.jl $( TEST_SCRIPT_OPTIONS ) $@ )
4348 @mkdir $(SRCDIR ) /relocatedepot
4449 @cp -R $(build_datarootdir ) /julia $(SRCDIR ) /relocatedepot
4550 @cp -R $(SRCDIR ) /RelocationTestPkg1 $(SRCDIR ) /relocatedepot
4651 @cp -R $(SRCDIR ) /RelocationTestPkg2 $(SRCDIR ) /relocatedepot
4752 @cp -R $(SRCDIR ) /RelocationTestPkg3 $(SRCDIR ) /relocatedepot
4853 @cp -R $(SRCDIR ) /RelocationTestPkg4 $(SRCDIR ) /relocatedepot
4954 @cd $(SRCDIR ) && \
50- $(call PRINT_JULIA, $(call spawn,RELOCATEDEPOT="" $(JULIA_EXECUTABLE ) ) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl $@ )
55+ $(call PRINT_JULIA, $(call spawn,RELOCATEDEPOT="" $(JULIA_EXECUTABLE ) ) $( TEST_JULIA_OPTIONS ) ./runtests.jl $( TEST_SCRIPT_OPTIONS ) $@ )
5156
52- revise-relocatedepot : revise-% :
57+ revise-relocatedepot : revise-% : dep_revise
5358 @rm -rf $(SRCDIR ) /relocatedepot
5459 @cd $(SRCDIR ) && \
55- $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE ) ) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl --revise $* )
60+ $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE ) ) $( TEST_JULIA_OPTIONS ) ./runtests.jl $( TEST_SCRIPT_OPTIONS ) --revise $* )
5661 @mkdir $(SRCDIR ) /relocatedepot
5762 @cp -R $(build_datarootdir ) /julia $(SRCDIR ) /relocatedepot
5863 @cp -R $(SRCDIR ) /RelocationTestPkg1 $(SRCDIR ) /relocatedepot
5964 @cp -R $(SRCDIR ) /RelocationTestPkg2 $(SRCDIR ) /relocatedepot
6065 @cp -R $(SRCDIR ) /RelocationTestPkg3 $(SRCDIR ) /relocatedepot
6166 @cp -R $(SRCDIR ) /RelocationTestPkg4 $(SRCDIR ) /relocatedepot
6267 @cd $(SRCDIR ) && \
63- $(call PRINT_JULIA, $(call spawn,RELOCATEDEPOT="" $(JULIA_EXECUTABLE ) ) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl --revise $* )
68+ $(call PRINT_JULIA, $(call spawn,RELOCATEDEPOT="" $(JULIA_EXECUTABLE ) ) $( TEST_JULIA_OPTIONS ) ./runtests.jl $( TEST_SCRIPT_OPTIONS ) --revise $* )
6469
6570embedding :
6671 @$(MAKE ) -C $(SRCDIR ) /$@ check $(EMBEDDING_ARGS )
0 commit comments