[libcxx-commits] [PATCH] D110887: [libcxx][test] Use python specified by build rather than system default python
Leonard Chan via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 30 15:35:40 PDT 2021
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9f641c96cb15: [libcxx][test] Use python specified by build rather than system default python (authored by leonardchan).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110887/new/
https://reviews.llvm.org/D110887
Files:
libcxx/utils/libcxx/test/features.py
Index: libcxx/utils/libcxx/test/features.py
===================================================================
--- libcxx/utils/libcxx/test/features.py
+++ libcxx/utils/libcxx/test/features.py
@@ -179,7 +179,7 @@
try:
stdout = subprocess.check_output(
- [gdb_path, "-ex", "python " + test_src, "--batch"],
+ [gdb_path, "-ex", sys.executable + " " + test_src, "--batch"],
stderr=subprocess.DEVNULL, universal_newlines=True)
except subprocess.CalledProcessError:
# We can't set breakpoint commands
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110887.376388.patch
Type: text/x-patch
Size: 556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210930/87920cab/attachment.bin>
More information about the libcxx-commits
mailing list