summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qmdiarea/qmdiarea.pro2
-rw-r--r--tests/auto/qmdiarea/tst_qmdiarea.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qmdiarea/qmdiarea.pro b/tests/auto/qmdiarea/qmdiarea.pro
index 90fe9f4..4aacc6b 100644
--- a/tests/auto/qmdiarea/qmdiarea.pro
+++ b/tests/auto/qmdiarea/qmdiarea.pro
@@ -12,4 +12,4 @@ mac {
LIBS += -framework Security
}
-CONFIG+=insignificant_test # QTQAINFRA-428
+linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = lucid ]"):DEFINES+=UBUNTU_LUCID # QTBUG-26726
diff --git a/tests/auto/qmdiarea/tst_qmdiarea.cpp b/tests/auto/qmdiarea/tst_qmdiarea.cpp
index 3c864b3..9ae9d45 100644
--- a/tests/auto/qmdiarea/tst_qmdiarea.cpp
+++ b/tests/auto/qmdiarea/tst_qmdiarea.cpp
@@ -1789,6 +1789,9 @@ void tst_QMdiArea::tileSubWindows()
QTRY_VERIFY(workspace.size() != QSize(150, 150));
QTRY_VERIFY(!vBar->isVisible());
+#if defined(UBUNTU_LUCID) && !defined(Q_WS_QWS)
+ QEXPECT_FAIL("", "QTBUG-26726", Abort);
+#endif
QTRY_VERIFY(!hBar->isVisible());
}