diff --git a/Makefile b/Makefile index d7dd3a3e200..cd7e52131de 100644 --- a/Makefile +++ b/Makefile @@ -37,4 +37,4 @@ check :: tools-only: all check-dejagnu: - PATH=$(LLVMToolDir):$(PATH) $(MAKE) -C test check-dejagnu TESTSUITE=$(TESTSUITE) + $(MAKE) -C test check-dejagnu TESTSUITE=$(TESTSUITE) diff --git a/test/Makefile b/test/Makefile index 4ab3df8c6a8..8e4215682f9 100644 --- a/test/Makefile +++ b/test/Makefile @@ -124,7 +124,8 @@ RUNTESTFLAGS := --tool $(TESTSUITE) endif check-dejagnu: site.exp - PATH=$(LLVM_SRC_ROOT)/test/Scripts:$(PATH) $(RUNTEST) $(RUNTESTFLAGS) + PATH=$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH) \ + $(RUNTEST) $(RUNTESTFLAGS) dejagnu-clean: