diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-07-21 10:40:42 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-07-21 11:35:11 (GMT) |
commit | 705f497bc21863b2bb580d39aabe371622f937aa (patch) | |
tree | 944cd0782c0a8772e9f513cb493af31f618b9837 /tests/auto/qsound | |
parent | 22edd932bb5af334bbe1a1774604332eee14814f (diff) | |
download | Qt-705f497bc21863b2bb580d39aabe371622f937aa.zip Qt-705f497bc21863b2bb580d39aabe371622f937aa.tar.gz Qt-705f497bc21863b2bb580d39aabe371622f937aa.tar.bz2 |
Skip QSound autotest on Lighthouse
QSound is not implemented.
Diffstat (limited to 'tests/auto/qsound')
-rw-r--r-- | tests/auto/qsound/tst_qsound.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/qsound/tst_qsound.cpp b/tests/auto/qsound/tst_qsound.cpp index eda99a1..295ed91 100644 --- a/tests/auto/qsound/tst_qsound.cpp +++ b/tests/auto/qsound/tst_qsound.cpp @@ -63,6 +63,9 @@ private slots: void tst_QSound::checkFinished() { +#if defined(Q_WS_QPA) + QSKIP("QSound is not implemented on Lighthouse", SkipAll); +#else QSound sound(SRCDIR"4.wav"); sound.setLoops(3); sound.play(); @@ -72,15 +75,17 @@ void tst_QSound::checkFinished() QEXPECT_FAIL("", "QSound buggy on embedded (task QTBUG-157)", Abort); #endif QVERIFY(sound.isFinished() ); +#endif } void tst_QSound::staticPlay() { QSKIP("Test disabled -- only for manual purposes", SkipAll); - +#if !defined(Q_WS_QPA) // Check that you hear sound with static play also. QSound::play(SRCDIR"4.wav"); QTest::qWait(2000); +#endif } QTEST_MAIN(tst_QSound); |