summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-10-04 08:57:35 (GMT)
committerGitHub <noreply@github.com>2023-10-04 08:57:35 (GMT)
commit1de9406f9136e3952b849487f0151be3c669a3ea (patch)
tree3b9a1f5c6cbdd7f6ce4f8c18d7d3e1f63a0dd3d6 /Lib
parent1465386720cd532a378a5cc1e6de9d96dd8fcc81 (diff)
downloadcpython-1de9406f9136e3952b849487f0151be3c669a3ea.zip
cpython-1de9406f9136e3952b849487f0151be3c669a3ea.tar.gz
cpython-1de9406f9136e3952b849487f0151be3c669a3ea.tar.bz2
gh-110166: Fix gdb CFunctionFullTests on ppc64le clang build (#110331)
CFunctionFullTests now also runs "bt" command before "py-bt-full", similar to CFunctionTests which also runs "bt" command before "py-bt". So test_gdb can skip the test if patterns like "?? ()" are found in the gdb output.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_gdb/test_cfunction_full.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_gdb/test_cfunction_full.py b/Lib/test/test_gdb/test_cfunction_full.py
index 3e90cb1..572cbda 100644
--- a/Lib/test/test_gdb/test_cfunction_full.py
+++ b/Lib/test/test_gdb/test_cfunction_full.py
@@ -18,7 +18,7 @@ class CFunctionFullTests(CFunctionTests):
gdb_output = self.get_stack_trace(
cmd,
breakpoint=func_name,
- cmds_after_breakpoint=['py-bt-full'],
+ cmds_after_breakpoint=['bt', 'py-bt-full'],
# bpo-45207: Ignore 'Function "meth_varargs" not
# defined.' message in stderr.
ignore_stderr=True,