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>