diff --git a/libcxx/utils/libcxx/test/features.py b/libcxx/utils/libcxx/test/features.py --- a/libcxx/utils/libcxx/test/features.py +++ b/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