From 16c6e0f387e957d21ab90c8694c11cd269ec7719 Mon Sep 17 00:00:00 2001 From: Jeremy Morse Date: Wed, 4 Mar 2020 15:22:31 +0000 Subject: [PATCH] Quote a python executable path On my Windows machine at least, the path to python contains a space. --- clang/test/lit.cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/lit.cfg.py b/clang/test/lit.cfg.py index 08d15ed..bdf3b11 100644 --- a/clang/test/lit.cfg.py +++ b/clang/test/lit.cfg.py @@ -81,7 +81,7 @@ if config.clang_staticanalyzer: config.test_source_root, "Analysis", "check-analyzer-fixit.py") config.substitutions.append( ('%check_analyzer_fixit', - '%s %s' % (config.python_executable, check_analyzer_fixit_path))) + '"%s" %s' % (config.python_executable, check_analyzer_fixit_path))) llvm_config.add_tool_substitutions(tools, tool_dirs) -- 2.7.4