[plasma-framework] autotests: Skip autotest that is broken with Qt 5.5

David Faure faure at kde.org
Sun Aug 7 11:25:10 UTC 2016


Git commit 8abeceaffd0c93028810ea12131b7fa8bcd13b12 by David Faure.
Committed on 07/08/2016 at 11:25.
Pushed by dfaure into branch 'master'.

Skip autotest that is broken with Qt 5.5

Eike Hein said this was fixed by David Rosca in Qt >= 5.6.1.

CCMAIL: plasma-devel at kde.org

M  +3    -0    autotests/dialogstatetest.cpp

http://commits.kde.org/plasma-framework/8abeceaffd0c93028810ea12131b7fa8bcd13b12

diff --git a/autotests/dialogstatetest.cpp b/autotests/dialogstatetest.cpp
index f8ac9bc..333f74f 100644
--- a/autotests/dialogstatetest.cpp
+++ b/autotests/dialogstatetest.cpp
@@ -37,6 +37,9 @@ void DialogStateTest::cleanupTestCase()
 
 void DialogStateTest::windowState()
 {
+#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0)
+    QSKIP("This test is broken with Qt 5.5");
+#endif
     for (int i = 0; i <= 100; ++i) {
         m_dialog->show();
 


More information about the Plasma-devel mailing list