aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-01-10 15:26:54 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:51:45 -0300
commit64a35df0c16663bea2693701f576005e2f8ebb4c (patch)
tree08fba33b1582319df7d22179fc11de6b0e49b027
parent1caaffba59c8a6897d58e7682842f4b4a86405f2 (diff)
Added condition for a phonon test that fails on Win32 with Qt 4.7.1.
This is due to a bug on Phonon::createPath that happens with the specific combination of Win32 platform and Qt 4.7.1. The bug is reported as fixed for Qt 4.7.2, but it wasn't released yet. For more details on the bug: http://bugreports.qt.nokia.com/browse/QTBUG-13062 Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
-rw-r--r--tests/phonon/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/phonon/CMakeLists.txt b/tests/phonon/CMakeLists.txt
index c2b939ed9..ee94c0ba9 100644
--- a/tests/phonon/CMakeLists.txt
+++ b/tests/phonon/CMakeLists.txt
@@ -1,3 +1,7 @@
-PYSIDE_TEST(basic_playing_test.py)
+if (NOT WIN32 OR NOT ${QTVERSION} VERSION_EQUAL 4.7.1)
+ # Any usage of Phonon::createPath will fail on Win32 and Qt 4.7.1.
+ # Check: http://bugreports.qt.nokia.com/browse/QTBUG-13062
+ PYSIDE_TEST(basic_playing_test.py)
+endif()
PYSIDE_TEST(bug_328.py)
PYSIDE_TEST(capabilities_test.py)