QDoc: Allow expected failure in E2E test
The test runner for the template output validation test assumes every
QDoc run succeeds. This means it cannot e.g. distinguish a graceful page
failure from a crash or silent success, or check diagnostic output.
This change modifies the test runner such that individual fixtures are
allowed to require a normal non-zero exit and specific standard-error
text. Existing fixtures still require success; failure scenarios no
longer weaken their checks. The readme for the test is updated to
reflect the new capabilites.
Pick-to: 6.12
Task-number: QTBUG-146939
Change-Id: Ie3519bcab4bc6a58a1d29443b3577ebd8a972dea
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
Reviewed-by: David Boddie <david.boddie@qt.io>