[libcxx-commits] [libcxx] b640ec0 - [libc++] Quote path to the Python executable in ShTest

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 27 10:07:42 PDT 2020


Author: Louis Dionne
Date: 2020-04-27T13:07:29-04:00
New Revision: b640ec007f1f734be5903aebc3dd16aaab35f7dc

URL: https://github.com/llvm/llvm-project/commit/b640ec007f1f734be5903aebc3dd16aaab35f7dc
DIFF: https://github.com/llvm/llvm-project/commit/b640ec007f1f734be5903aebc3dd16aaab35f7dc.diff

LOG: [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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx/selftest/dsl/dsl.sh.py b/libcxx/test/libcxx/selftest/dsl/dsl.sh.py
index 8a2f9e2b31bc..42d7a3a3fe70 100644
--- a/libcxx/test/libcxx/selftest/dsl/dsl.sh.py
+++ b/libcxx/test/libcxx/selftest/dsl/dsl.sh.py
@@ -5,11 +5,11 @@
 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 #
 #===----------------------------------------------------------------------===##
-# RUN: %{python} %s '%S' '%T' '%{escaped_exec}' \
-# RUN:                        '%{escaped_cxx}' \
-# RUN:                        '%{escaped_flags}' \
-# RUN:                        '%{escaped_compile_flags}' \
-# RUN:                        '%{escaped_link_flags}'
+# RUN: "%{python}" '%s' '%S' '%T' '%{escaped_exec}' \
+# RUN:                            '%{escaped_cxx}' \
+# RUN:                            '%{escaped_flags}' \
+# RUN:                            '%{escaped_compile_flags}' \
+# RUN:                            '%{escaped_link_flags}'
 # END.
 
 import base64


        


More information about the libcxx-commits mailing list