diff options
author | Mikko Hallamaa <[email protected]> | 2025-08-19 15:08:44 +0200 |
---|---|---|
committer | Mikko Hallamaa <[email protected]> | 2025-08-20 14:48:13 +0200 |
commit | 18cebbb3c1bae72325d922df83a963b27592e98a (patch) | |
tree | 7b7e45098825d75bc9c7a175565a3e0df774261f /tests | |
parent | deed61be38520a7e171a1ae051d366ae891e8550 (diff) |
In tst_qaudiosink, callback API tests passed quietly when when ifdef'd
test code wasn't reached. This commit changes that so that they are
skipped instead.
Pick-to: 6.10 6.9
Change-Id: Ia330d277389dc02dbba1c7cb6709336519ddeb96
Reviewed-by: Artem Dyomin <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/integration/qaudiosink/tst_qaudiosink.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/integration/qaudiosink/tst_qaudiosink.cpp b/tests/auto/integration/qaudiosink/tst_qaudiosink.cpp index 3c9a5998b..ebc5f6b80 100644 --- a/tests/auto/integration/qaudiosink/tst_qaudiosink.cpp +++ b/tests/auto/integration/qaudiosink/tst_qaudiosink.cpp @@ -1280,6 +1280,8 @@ void tst_QAudioSink::callbackAPI() bool callbackExecuted = sync.try_acquire_for(1s); QVERIFY(callbackExecuted); +#else + QSKIP("Threading not configured"); #endif } @@ -1323,6 +1325,8 @@ void tst_QAudioSink::callbackAPI_startWithMoveOnlyFunctor() bool callbackExecuted = sync.try_acquire_for(1s); QVERIFY(callbackExecuted); +#else + QSKIP("Threading not configured or move-only functions not available"); #endif } |