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.
This commit is contained in:
Victor Stinner 2023-10-04 10:57:35 +02:00 committed by GitHub
parent 1465386720
commit 1de9406f91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ class CFunctionFullTests(CFunctionTests):
gdb_output = self.get_stack_trace( gdb_output = self.get_stack_trace(
cmd, cmd,
breakpoint=func_name, breakpoint=func_name,
cmds_after_breakpoint=['py-bt-full'], cmds_after_breakpoint=['bt', 'py-bt-full'],
# bpo-45207: Ignore 'Function "meth_varargs" not # bpo-45207: Ignore 'Function "meth_varargs" not
# defined.' message in stderr. # defined.' message in stderr.
ignore_stderr=True, ignore_stderr=True,