Re: [PATCH] testsuite: Fix instability in pytest-based tests
Mike Stump <[email protected]>
| Newsgroups | gmane.comp.gcc.patches |
|---|---|
| Message-ID | <[email protected]> |
On Aug 15, 2026, at 3:16 AM, Lewis Hyatt <[email protected]> wrote: > > This has been tested on sparc (cfarm216), where I often encounter the issue, > and also on x86-64 Linux. OK? Ok. > -Lewis > > gcc/testsuite/ChangeLog: > > * lib/target-supports.exp (pytest_invoke): New function. > (check_effective_target_pytest3): Use pytest_invoke to add some > additional arguments to the pytest invocation. > * lib/gcov.exp (run-gcov-pytest): Set timeout to 300 seconds, report > test failure upon timeout, and use new pytest_invoke helper. > * lib/scanhtml.exp (run-html-pytest): Likewise. > * lib/scansarif.exp (run-sarif-pytest): Likewise.