summaryrefslogtreecommitdiff
path: root/tests/auto/qsound
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2010-07-21 12:40:42 +0200
committerPaul Olav Tvete <paul.tvete@nokia.com>2010-07-21 13:35:11 +0200
commit705f497bc21863b2bb580d39aabe371622f937aa (patch)
tree944cd0782c0a8772e9f513cb493af31f618b9837 /tests/auto/qsound
parent22edd932bb5af334bbe1a1774604332eee14814f (diff)
downloadqt4-tools-705f497bc21863b2bb580d39aabe371622f937aa.tar.gz
Skip QSound autotest on Lighthouse
QSound is not implemented.
Diffstat (limited to 'tests/auto/qsound')
-rw-r--r--tests/auto/qsound/tst_qsound.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/qsound/tst_qsound.cpp b/tests/auto/qsound/tst_qsound.cpp
index eda99a1125..295ed91acb 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);