From: Benjamin Kramer Date: Fri, 22 Jun 2018 20:03:32 +0000 (+0000) Subject: Reinstate quotes around the path to python that I accidentaly removed in r335330 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1ac5637a3d5f62f7ac569665a5b758ebca0ab99;p=clang Reinstate quotes around the path to python that I accidentaly removed in r335330 This broke users with spaces in the path, like C:\Program Files\Python git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335382 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg.py b/test/lit.cfg.py index 5b11691f44..ad30988c17 100644 --- a/test/lit.cfg.py +++ b/test/lit.cfg.py @@ -70,7 +70,7 @@ if config.clang_examples: llvm_config.add_tool_substitutions(tools, tool_dirs) config.substitutions.append( - ('%hmaptool', '%s %s' % (config.python_executable, + ('%hmaptool', "'%s' %s" % (config.python_executable, os.path.join(config.llvm_tools_dir, 'hmaptool')))) # Plugins (loadable modules)