diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@theqtcompany.com> | 2016-01-14 15:56:00 +0200 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2016-01-18 13:47:04 +0000 |
commit | 8d84a30e4d5ebec6e9c921ca855fc0cc5f1d9269 (patch) | |
tree | a1bd819ebeda8f7fc89fcedc3575495d27cb33cc | |
parent | 8d88f172b691021d947385387f809a710dab23df (diff) | |
download | qtmultimedia-8d84a30e4d5ebec6e9c921ca855fc0cc5f1d9269.tar.gz |
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.cpp | 2 |
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(); |