summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsound/tst_qsound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qsound/tst_qsound.cpp')
-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);