Revert "[libcxx][test] Use python specified by build rather than system default python"

This reverts commit 9f641c96cb.

The "python" command in gdb uses the python gdb is linked to,
not what "python" would give you if you used it directly in the shell.
This commit is contained in:
David Spickett 2021-10-01 09:44:44 +00:00
parent 5fbe9e40d1
commit 81d2cea690
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ gdb.execute(\"quit\")"""
try:
stdout = subprocess.check_output(
[gdb_path, "-ex", sys.executable + " " + test_src, "--batch"],
[gdb_path, "-ex", "python " + test_src, "--batch"],
stderr=subprocess.DEVNULL, universal_newlines=True)
except subprocess.CalledProcessError:
# We can't set breakpoint commands