Quote the value of the PATH variable so that Cygwin and Windows can have
authorReid Spencer <rspencer@reidspencer.com>
Fri, 18 Feb 2005 20:24:09 +0000 (20:24 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 18 Feb 2005 20:24:09 +0000 (20:24 +0000)
spaces in path names and not confuse the shell.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20241 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile.tests

index c597de47fabb86e7f6745104d5026b4eb697fb61..b46b96da3601c7c5f27dfbe86e00b2ca3c503061 100644 (file)
@@ -39,7 +39,7 @@ LCXXFLAGS += -O2 -Wall
 LLCFLAGS =
 FAILURE  = $(LLVM_SRC_ROOT)/test/Failure.sh
 TESTRUNR = @echo Running test: $<; \
-             PATH=$(LLVMTOOLCURRENT):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH) \
+             PATH="$(LLVMTOOLCURRENT):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
                   $(LLVM_SRC_ROOT)/test/TestRunner.sh
 
 LLCLIBS := $(LLCLIBS) -lm