summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmdiarea
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2012-07-31 14:35:53 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-01 05:19:01 +0200
commit8d2feb62ae8bac0fb620fa1d047f347be75fbe0e (patch)
treec4dfa2bfb8099c80995afedc09ae5553072498fb /tests/auto/qmdiarea
parent96494581c00ebc0bc110feaf59f04e0168418faf (diff)
test: Re-enable tst_QMdiArea test.
The test has one stable failure. Mark this with QEXPECT_FAIL and re-enable the test. Task-number: QTBUG-26726 Change-Id: I7b59609f71d35af27b56f62eedc9bbef4adb7f65 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Diffstat (limited to 'tests/auto/qmdiarea')
-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 90fe9f4646..4aacc6b9e3 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 3c864b3bf3..9ae9d45fa8 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());
}