Skip to content

Commit b640ec0

Browse files
committed
[libc++] Quote path to the Python executable in ShTest
This is an attempt to unbreak this test on Windows, where paths contain backslashes that are interpreted as escape characters unless quoted.
1 parent 7363ffe commit b640ec0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libcxx/test/libcxx/selftest/dsl/dsl.sh.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
#
77
#===----------------------------------------------------------------------===##
8-
# RUN: %{python} %s '%S' '%T' '%{escaped_exec}' \
9-
# RUN: '%{escaped_cxx}' \
10-
# RUN: '%{escaped_flags}' \
11-
# RUN: '%{escaped_compile_flags}' \
12-
# RUN: '%{escaped_link_flags}'
8+
# RUN: "%{python}" '%s' '%S' '%T' '%{escaped_exec}' \
9+
# RUN: '%{escaped_cxx}' \
10+
# RUN: '%{escaped_flags}' \
11+
# RUN: '%{escaped_compile_flags}' \
12+
# RUN: '%{escaped_link_flags}'
1313
# END.
1414

1515
import base64

0 commit comments

Comments
 (0)