diff options
author | Andrew Burgess <aburgess@redhat.com> | 2025-06-23 16:17:19 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2025-06-23 20:51:09 +0100 |
commit | 4e9104ae5455a3c02c2a7e07f52e6bc574cc761d (patch) | |
tree | 189cee03d145d2ef12164541595e06f012dfadf5 /gcc/diagnostic-output-spec.h | |
parent | 2334d30cd8feac28831ffef857cd09753a3ca3d3 (diff) | |
download | gcc-4e9104ae5455a3c02c2a7e07f52e6bc574cc761d.zip gcc-4e9104ae5455a3c02c2a7e07f52e6bc574cc761d.tar.gz gcc-4e9104ae5455a3c02c2a7e07f52e6bc574cc761d.tar.bz2 |
contrib: handle GDB's 'unexpected core files' count
This commit is for the benefit of GDB, but as the binutils-gdb
repository shares the contrib/ directory with gcc, this commit must
first be applied to gcc then copied back to binutils-gdb.
This commit extends the two scripts contrib/dg-extract-results.{py,sh}
to handle GDB's 'unexpected core files' count. This test result type
should never appear in GCC, or any other tool that shares the contrib/
directory, so this change should be harmless for others.
The 'unexpected core files' count was added to GDB's results by this
series:
https://inbox.sourceware.org/gdb-patches/20220623183053.172430-1-pedro@palves.net
this count is added to the gdb.sum file after all the tests have run,
and counts up any core.* files that have appeared.
GDB also has a make-check-all.sh script which runs a test with all the
different board files that GDB supports. After each test is run the
'unexpected core files' count will be added to that board's results.
I'm now trying to use the dg-extract-results.* scripts to merge the
results from all the different board files, and the 'unexpected core
files' count is confusing these scripts.
contrib/ChangeLog:
* dg-extract-results.py: Handle GDB's unexpected core file count.
* dg-extract-results.sh: Likewise.
Diffstat (limited to 'gcc/diagnostic-output-spec.h')
0 files changed, 0 insertions, 0 deletions