Landing: 75a1ea77b4a7

Project / Subsystem

gcc / contrib

Date

2026-05-29

Author

Kevin Buettner

Commit

75a1ea77b4a7e6bddd82da793f6bf18cf621fa0a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
contrib
patch_id
commit_hash
75a1ea77b4a7e6bddd82da793f6bf18cf621fa0a
source_type
github
headline
Contrib: Make dg-extract-results.py tolerant of unparseable files for GDB.
tldr
The `dg-extract-results.py` script now handles malformed test output files gracefully, preventing data loss in parallel test runs.
author
Kevin Buettner
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • test suite
  • gdb
  • testing
  • python
discussion_id_link
bugzilla_pr
date
2026-05-29T00:00:00.000Z

The dg-extract-results.py script, used to consolidate test results, now tolerates unparseable files. Previously, a malformed test output file would cause the script to abort, resulting in the loss of all test results. The script now catches parsing errors, emits a warning, and continues processing remaining files, ensuring that valid results are preserved. This change primarily benefits GDB test runs, but the script resides in GCC’s contrib directory.