diff options
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 } |