aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcxx/utils/libcxx/test/features.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/utils/libcxx/test/features.py b/libcxx/utils/libcxx/test/features.py
index 1204304..94e4490 100644
--- a/libcxx/utils/libcxx/test/features.py
+++ b/libcxx/utils/libcxx/test/features.py
@@ -179,7 +179,7 @@ gdb.execute(\"quit\")"""
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