From: Daniel Dunbar Date: Thu, 21 Aug 2008 03:03:44 +0000 (+0000) Subject: Reorder the PATH used during testing so $(ToolDir) and the LLVM X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4565938ff6b329747aebb30047eb849990bae3d2;p=clang Reorder the PATH used during testing so $(ToolDir) and the LLVM scripts dir appear before the user path. - This is an attempt to pick up the right executables. We should probably be substituting the exact things we want for clang a la the LLVM test script. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55105 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Makefile b/test/Makefile index fb1ccfc4b6..9fdc6113ff 100644 --- a/test/Makefile +++ b/test/Makefile @@ -23,7 +23,7 @@ TESTS := $(addprefix Output/, $(addsuffix .testresults, $(shell find $(TESTDIRS) Output/%.testresults: % @ $(PROGRESS) - @ PATH=$$PATH:$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts VG=$(VG) $(PROJ_SRC_DIR)/TestRunner.sh $< > $@ || $(REPORTFAIL) + @ PATH=$(ToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$$PATH VG=$(VG) $(PROJ_SRC_DIR)/TestRunner.sh $< > $@ || $(REPORTFAIL) all:: @ mkdir -p $(addprefix Output/, $(TESTDIRS))