Landing: a3df0c3c54c6

Project / Subsystem

gcc / testsuite

Date

2026-08-14

Author

Lewis Hyatt

Commit

a3df0c3c54c61cc0fc4b1e5f7bbb29050f1ea7e2

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
testsuite
patch_id
—
commit_hash
a3df0c3c54c61cc0fc4b1e5f7bbb29050f1ea7e2
source_type
github
headline
Testsuite pytest stability improvements
tldr
Increases pytest timeouts and improves cache handling for more reliable test execution.
author
Lewis Hyatt
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • testsuite
  • • pytest
  • • reliability
discussion_id_link
—
bugzilla_pr
—
date
2026-08-14T00:00:00.000Z

The testsuite’s Python-based tests using pytest were prone to instability due to default timeouts that were too short for imports and file system scanning, especially on slower network mounts. This change increases the timeout and ensures failures are reported on timeout. Additionally, it prevents pytest from using a shared cache directory outside the build directory when source and build trees share a common parent, improving parallel test run reliability.