Skip to content

Commit 1de9406

Browse files
authored
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.
1 parent 1465386 commit 1de9406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_gdb/test_cfunction_full.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def check(self, func_name, cmd):
1818
gdb_output = self.get_stack_trace(
1919
cmd,
2020
breakpoint=func_name,
21-
cmds_after_breakpoint=['py-bt-full'],
21+
cmds_after_breakpoint=['bt', 'py-bt-full'],
2222
# bpo-45207: Ignore 'Function "meth_varargs" not
2323
# defined.' message in stderr.
2424
ignore_stderr=True,

0 commit comments

Comments
 (0)