r335382 - Reinstate quotes around the path to python that I accidentaly removed in r335330
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 22 13:03:33 PDT 2018
Author: d0k
Date: Fri Jun 22 13:03:32 2018
New Revision: 335382
URL: http://llvm.org/viewvc/llvm-project?rev=335382&view=rev
Log:
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
Modified:
cfe/trunk/test/lit.cfg.py
Modified: cfe/trunk/test/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg.py?rev=335382&r1=335381&r2=335382&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg.py (original)
+++ cfe/trunk/test/lit.cfg.py Fri Jun 22 13:03:32 2018
@@ -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)
More information about the cfe-commits
mailing list