aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-05-20 20:13:41 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-05-20 20:13:41 +0000
commit2a43970b28c3d0c4bd18d7bf98ac811bc1a8ad72 (patch)
treef7459a93fd935cbeb8aebf1beee5af5f37330612 /test/Makefile
parent57ebf3d6a8f583bb51ad54887f18083963299807 (diff)
Finally get the quoting right for both Unix and Windows for the llvmgcc and
llvmgxx programs. dejagnu doesn't understand single quote and we need to pass double quotes through to the shell in order to escape blanks in the paths. This patch uses \" to escape the quotes passed through to the shell. Thanks to Aaron Gray for testing this out on cygwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 259f34ccbd..3c56b79f92 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -44,8 +44,8 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
@echo 'set prcontext "$(TCLSH) $(LLVM_SRC_ROOT)/test/Scripts/prcontext.tcl"' >> site.tmp
@echo 'set srcdir $(LLVM_SRC_ROOT)/test' >>site.tmp
@echo "set objdir $(LLVM_OBJ_ROOT)/test" >>site.tmp
- @echo 'set llvmgcc "PATH=$(LLVMToolDir):$(PATH) $(LLVMGCC)"' >> site.tmp
- @echo 'set llvmgxx "PATH=$(LLVMToolDir):$(PATH) $(LLVMGCC)"' >> site.tmp
+ @echo 'set llvmgcc "PATH=\"$(LLVMToolDir):$(PATH)\" \"$(LLVMGCC)\""' >> site.tmp
+ @echo 'set llvmgxx "PATH=\"$(LLVMToolDir):$(PATH)\" \"$(LLVMGCC)\""' >> site.tmp
@echo '## All variables above are generated by configure. Do Not Edit ## ' >>site.tmp
@test ! -f site.exp || \
sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp