summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-01-10 15:26:54 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-01-10 15:26:54 -0300
commit814bc522ce510dd37818b87e23ffedd4b7b5c0b8 (patch)
tree0b1e381031c387326a66a11c60d5331d5280f2b9
parentfb9fdba329899cfe884d1769c73686caa48c111d (diff)
downloadpyside-814bc522ce510dd37818b87e23ffedd4b7b5c0b8.tar.gz
pyside-814bc522ce510dd37818b87e23ffedd4b7b5c0b8.tar.xz
pyside-814bc522ce510dd37818b87e23ffedd4b7b5c0b8.zip
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 c2b939e..ee94c0b 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)