[test][Dexter] Fix test failure if space in python path
The '%dexter_regression_test' substitution was missing quotes around the
python executable, unlike other substitutions of a similar nature in the
file. This changes fixes the issue.
Differential Revision: https://reviews.llvm.org/D96420
Reviewed by: jmorse, aganea
GitOrigin-RevId: a31eae840525e9292a3a42c1fdac3fc594f42949
diff --git a/lit.cfg.py b/lit.cfg.py
index 0e43650..bcf31c9 100644
--- a/lit.cfg.py
+++ b/lit.cfg.py
@@ -130,8 +130,8 @@
# ./path_to_py/python.exe ./path_to_dex/dexter.py test --fail-lt 1.0 -w --builder clang --debugger lldb --cflags '-O0 -g'
dexter_regression_test_command = ' '.join(
# "python3", "dexter.py", test, fail_mode, builder, debugger, cflags, ldflags
- ["{}".format(config.python3_executable),
- "{}".format(dexter_path),
+ ['"{}"'.format(config.python3_executable),
+ '"{}"'.format(dexter_path),
'test',
'--fail-lt 1.0 -w',
dexter_regression_test_builder,