Landing: 688e32e919c8

Project / Subsystem

gcc / gcc

Date

2025-11-27

Author

Pedro Alves

Commit

688e32e919c8a645de680f91be6feb63215bb6f4

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
688e32e919c8a645de680f91be6feb63215bb6f4
source_type
github
headline
Test result extraction scripts now accept file lists from stdin/file.
tldr
GCC and GDB test suite scripts `dg-extract-results` now support reading file lists from stdin or a file to overcome command-line length limits.
author
Pedro Alves
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testing
  • • scripts
  • • portability
  • • windows
discussion_id_link
—
bugzilla_pr
—
date
2025-11-27T00:00:00.000Z

The dg-extract-results.sh and dg-extract-results.py scripts, used for combining test summary and log files, have been enhanced to accept input file lists via a new -f option. This option allows reading file paths from a specified file or from standard input, which is crucial for environments like Windows where passing a large number of files as command-line arguments can exceed length limits and cause failures. This change ensures the test suite can complete successfully even with thousands of test output files.