[libcxx] r294718 - properly escape compiler path in .sh.cpp tests
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 9 22:38:02 PST 2017
Author: ericwf
Date: Fri Feb 10 00:38:02 2017
New Revision: 294718
URL: http://llvm.org/viewvc/llvm-project?rev=294718&view=rev
Log:
properly escape compiler path in .sh.cpp tests
Modified:
libcxx/trunk/utils/libcxx/test/config.py
Modified: libcxx/trunk/utils/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/utils/libcxx/test/config.py?rev=294718&r1=294717&r2=294718&view=diff
==============================================================================
--- libcxx/trunk/utils/libcxx/test/config.py (original)
+++ libcxx/trunk/utils/libcxx/test/config.py Fri Feb 10 00:38:02 2017
@@ -892,7 +892,7 @@ class Configuration(object):
def configure_substitutions(self):
sub = self.config.substitutions
# Configure compiler substitutions
- sub.append(('%cxx', self.cxx.path))
+ sub.append(('%cxx', pipes.quote(self.cxx.path)))
# Configure flags substitutions
flags_str = ' '.join([pipes.quote(f) for f in self.cxx.flags])
compile_flags_str = ' '.join([pipes.quote(f) for f in self.cxx.compile_flags])
More information about the cfe-commits
mailing list