GCC Newspaper
OCTOBER 6, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
testsuite

testsuite: Add test for gcov function summaries.

A new test suite has been added to verify the functionality of gcov's function summaries.

This commit introduces a new test suite for gcov function summaries, addressing recent bugs that highlighted the need for better test coverage. The test is designed to be simple, checking for a summary header in test files and comparing it against gcov’s standard output. This provides essential validation for an existing but previously untested feature.

In Details

N/A

For Context
gcov
GCC's code coverage tool. It generates output files that detail which lines of source code were executed during a program's run.
function summaries
A feature of gcov that provides aggregated coverage information for entire functions, summarizing execution counts and line coverage within each function.
Filed Under: testsuitegcovcoverage