From 7b9da0c48037edf61573e20a55be572792885c8d Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 10 Feb 2017 06:38:02 +0000 Subject: [PATCH] properly escape compiler path in .sh.cpp tests llvm-svn: 294718 --- libcxx/utils/libcxx/test/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index e67a19bb0cc8..761c87b25b37 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -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])