summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPasi Petäjäjärvi <pasi.petajajarvi@theqtcompany.com>2016-01-14 15:56:00 +0200
committerYoann Lopes <yoann.lopes@theqtcompany.com>2016-01-18 13:47:04 +0000
commit8d84a30e4d5ebec6e9c921ca855fc0cc5f1d9269 (patch)
treea1bd819ebeda8f7fc89fcedc3575495d27cb33cc
parent8d88f172b691021d947385387f809a710dab23df (diff)
Be more permissive in QSoundEffect integration test.
Change-Id: I9f92fda79bb359f8fa53aa11b9b6889cd35fcb6e Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
-rw-r--r--tests/auto/integration/qsoundeffect/tst_qsoundeffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/integration/qsoundeffect/tst_qsoundeffect.cpp b/tests/auto/integration/qsoundeffect/tst_qsoundeffect.cpp
index e8ea3a487..604607ab0 100644
--- a/tests/auto/integration/qsoundeffect/tst_qsoundeffect.cpp
+++ b/tests/auto/integration/qsoundeffect/tst_qsoundeffect.cpp
@@ -174,7 +174,7 @@ void tst_QSoundEffect::testLooping()
QVERIFY(readSignal_Remaining.count() > 0);
// wait for the sound to be played several times
- QTRY_COMPARE(sound->loopsRemaining(), 20);
+ QTRY_VERIFY(sound->loopsRemaining() <= 20);
QVERIFY(readSignal_Remaining.count() >= 10);
readSignal_Count.clear();
readSignal_Remaining.clear();