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>
commit46d2f348268d6621f421dd27a4626cd0400865fc
parentfc9cd817aebbe8966706288b40880eebb86d3dc2
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeTue, 29 Sep 2026 12:34:29 +0000