@@ -9,7 +9,7 @@ STDLIBDIR := $(build_datarootdir)/julia/stdlib/$(VERSDIR)
9
9
TESTGROUPS = unicode strings compiler
10
10
TESTS = all default stdlib $(TESTGROUPS ) \
11
11
$(patsubst $(STDLIBDIR ) /% /,% ,$(dir $(wildcard $(STDLIBDIR ) /* /.) ) ) \
12
- $(filter-out runtests testdefs, \
12
+ $(filter-out runtests testdefs relocatedepot , \
13
13
$(patsubst $(SRCDIR ) /% .jl,% ,$(wildcard $(SRCDIR ) /* .jl) ) ) \
14
14
$(foreach group,$(TESTGROUPS ) , \
15
15
$(patsubst $(SRCDIR ) /% .jl,% ,$(wildcard $(SRCDIR ) /$(group ) /* .jl) ) )
@@ -29,6 +29,28 @@ $(addprefix revise-, $(TESTS)): revise-% :
29
29
@cd $(SRCDIR ) && \
30
30
$(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE)) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl --revise $*)
31
31
32
+ relocatedepot :
33
+ @rm -rf $(SRCDIR ) /relocatedepot
34
+ @cd $(SRCDIR ) && \
35
+ $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE ) ) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl $@ )
36
+ @mkdir $(SRCDIR ) /relocatedepot
37
+ @cp -RP $(build_datarootdir ) /julia/{stdlib,compiled}/ $(SRCDIR ) /relocatedepot/
38
+ @[[ -e $( build_datarootdir) /julia/packages ]] && cp -RP $(build_datarootdir ) /julia/packages/ $(SRCDIR ) /relocatedepot/
39
+ @[[ -e $( build_datarootdir) /julia/environments ]] && cp -RP $(build_datarootdir ) /julia/environments/ $(SRCDIR ) /relocatedepot/
40
+ @cd $(SRCDIR ) && \
41
+ $(call PRINT_JULIA, $(call spawn,RELOCATEDEPOT="" JULIA_DEPOT_PATH=$(SRCDIR ) /relocatedepot $(JULIA_EXECUTABLE ) ) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl $@ )
42
+
43
+ revise-relocatedepot : revise-% :
44
+ @rm -rf $(SRCDIR ) /relocatedepot
45
+ @cd $(SRCDIR ) && \
46
+ $(call PRINT_JULIA, $(call spawn,$(JULIA_EXECUTABLE ) ) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl --revise $* )
47
+ @mkdir $(SRCDIR ) /relocatedepot
48
+ @cp -RP $(build_datarootdir ) /julia/{stdlib,compiled}/ $(SRCDIR ) /relocatedepot/
49
+ @[[ -e $( build_datarootdir) /julia/packages ]] && cp -RP $(build_datarootdir ) /julia/packages/ $(SRCDIR ) /relocatedepot/
50
+ @[[ -e $( build_datarootdir) /julia/environments ]] && cp -RP $(build_datarootdir ) /julia/environments/ $(SRCDIR ) /relocatedepot/
51
+ @cd $(SRCDIR ) && \
52
+ $(call PRINT_JULIA, $(call spawn,RELOCATEDEPOT="" JULIA_DEPOT_PATH=$(SRCDIR ) /relocatedepot $(JULIA_EXECUTABLE ) ) --check-bounds=yes --startup-file=no --depwarn=error ./runtests.jl --revise $* )
53
+
32
54
embedding :
33
55
@$(MAKE ) -C $(SRCDIR ) /$@ check $(EMBEDDING_ARGS )
34
56
0 commit comments