diff --git a/src/test/run-make/pgo-gen-lto/Makefile b/src/test/run-make-fulldeps/pgo-gen-lto/Makefile similarity index 67% rename from src/test/run-make/pgo-gen-lto/Makefile rename to src/test/run-make-fulldeps/pgo-gen-lto/Makefile index 5de2c707f35..e8c695f52be 100644 --- a/src/test/run-make/pgo-gen-lto/Makefile +++ b/src/test/run-make-fulldeps/pgo-gen-lto/Makefile @@ -2,7 +2,7 @@ all: ifeq ($(PROFILER_SUPPORT),1) - $(RUSTC) -Copt-level=3 -Clto=fat -Z pgo-gen=test.profraw test.rs + $(RUSTC) -Copt-level=3 -Clto=fat -Z pgo-gen="$(TMPDIR)/test.profraw" test.rs $(call RUN,test) || exit 1 [ -e "$(TMPDIR)/test.profraw" ] || (echo "No .profraw file"; exit 1) endif diff --git a/src/test/run-make/pgo-gen-lto/test.rs b/src/test/run-make-fulldeps/pgo-gen-lto/test.rs similarity index 100% rename from src/test/run-make/pgo-gen-lto/test.rs rename to src/test/run-make-fulldeps/pgo-gen-lto/test.rs diff --git a/src/test/run-make/pgo-gen/Makefile b/src/test/run-make-fulldeps/pgo-gen/Makefile similarity index 73% rename from src/test/run-make/pgo-gen/Makefile rename to src/test/run-make-fulldeps/pgo-gen/Makefile index bc5cef2370c..7dc227b5a14 100644 --- a/src/test/run-make/pgo-gen/Makefile +++ b/src/test/run-make-fulldeps/pgo-gen/Makefile @@ -2,7 +2,7 @@ all: ifeq ($(PROFILER_SUPPORT),1) - $(RUSTC) -g -Z pgo-gen=test.profraw test.rs + $(RUSTC) -g -Z pgo-gen="$(TMPDIR)/test.profraw" test.rs $(call RUN,test) || exit 1 [ -e "$(TMPDIR)/test.profraw" ] || (echo "No .profraw file"; exit 1) endif diff --git a/src/test/run-make/pgo-gen/test.rs b/src/test/run-make-fulldeps/pgo-gen/test.rs similarity index 100% rename from src/test/run-make/pgo-gen/test.rs rename to src/test/run-make-fulldeps/pgo-gen/test.rs