[debuginfo-tests] f906104 - Quote path to Python 3 executable in case it contains spaces
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 31 15:23:56 PDT 2019
Author: Reid Kleckner
Date: 2019-10-31T15:23:45-07:00
New Revision: f9061049c1542579f661c3ec25528439ab9d0588
URL: https://github.com/llvm/llvm-project/commit/f9061049c1542579f661c3ec25528439ab9d0588
DIFF: https://github.com/llvm/llvm-project/commit/f9061049c1542579f661c3ec25528439ab9d0588.diff
LOG: Quote path to Python 3 executable in case it contains spaces
Added:
Modified:
debuginfo-tests/lit.cfg.py
Removed:
################################################################################
diff --git a/debuginfo-tests/lit.cfg.py b/debuginfo-tests/lit.cfg.py
index a8d23f34fe65..82e9b80b06f5 100644
--- a/debuginfo-tests/lit.cfg.py
+++ b/debuginfo-tests/lit.cfg.py
@@ -99,7 +99,7 @@ def get_required_attr(config, attr_name):
# Produce dexter path, lldb path, and combine into the %dexter substitution
dexter_path = os.path.join(config.debuginfo_tests_src_root,
'dexter', 'dexter.py')
-dexter_cmd = '{} {} test'.format(config.python3_executable, dexter_path)
+dexter_cmd = '"{}" "{}" test'.format(config.python3_executable, dexter_path)
if lldb_path is not None:
dexter_cmd += ' --lldb-executable {}'.format(lldb_path)
More information about the llvm-commits
mailing list