TestLib: Use shorter surface capture timeout for blacklisted cases


The surface capture backend tests have a lengthy timeout for most test
cases, to account for slow CI machines. However, several tests are
blacklisted and expected to fail. In such cases, waiting for the full
timeout is wasteful.

This patch makes surfaceCaptureTestTimeout() return 1 second when the
running test case is blacklisted. This is determined at runtime, so
removing a case from the BLACKLIST file restores the full timeout. It
applies to every test using the function, including the waits of
FrameGrabber.

Pick-to: 6.12
Change-Id: Idba896985a665c032c771dd3739e304cea428229
Reviewed-by: Tim Blechmann <tim.blechmann@qt.io>
commit6efc0b0cc5f842c2a8e508cda8e640132505859d
parentc39d875f35a5caa87b22ac554bc445959ba1b54f
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeFri, 9 Oct 2026 16:05:53 +0000