summaryrefslogtreecommitdiffstats
path: root/test/lit.cfg.py
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2018-06-22 20:03:32 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2018-06-22 20:03:32 +0000
commite1ac5637a3d5f62f7ac569665a5b758ebca0ab99 (patch)
tree4b94ccfb0cf83a5a34c1700eda4dbbff82966ecf /test/lit.cfg.py
parent257046ff24322a46dd7b74649f16d559fadf4a29 (diff)
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
Diffstat (limited to 'test/lit.cfg.py')
-rw-r--r--test/lit.cfg.py2
1 files changed, 1 insertions, 1 deletions
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)