summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-04-20 02:25:18 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-24 10:40:03 +0200
commit8e11d8b3ae5cb5f1053f651270685f9b808f3371 (patch)
treebfc4278f234ff55317e097958a8aeb706bb44bd5 /tests
parent342d66995a8adffe0e7f02212e4ad56416663a85 (diff)
Remove insignification of QSizeGrip test on Mac OS X.
The test has one stable failure. Mark it with QEXPECT_FAIL and re-enable the test. Task-number: QTBUG-23681 Change-Id: Iade17cbbd1570863bb628572d8da52ec9c0f62ba Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/widgets/widgets/qsizegrip/qsizegrip.pro2
-rw-r--r--tests/auto/widgets/widgets/qsizegrip/tst_qsizegrip.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/widgets/widgets/qsizegrip/qsizegrip.pro b/tests/auto/widgets/widgets/qsizegrip/qsizegrip.pro
index 98cf169730..1149b50feb 100644
--- a/tests/auto/widgets/widgets/qsizegrip/qsizegrip.pro
+++ b/tests/auto/widgets/widgets/qsizegrip/qsizegrip.pro
@@ -3,5 +3,3 @@ TARGET = tst_qsizegrip
INCLUDEPATH += .
QT += widgets testlib
SOURCES += tst_qsizegrip.cpp
-
-mac: CONFIG += insignificant_test # failures on mac, QTBUG-23681
diff --git a/tests/auto/widgets/widgets/qsizegrip/tst_qsizegrip.cpp b/tests/auto/widgets/widgets/qsizegrip/tst_qsizegrip.cpp
index 4c5df04188..a0a314bd9d 100644
--- a/tests/auto/widgets/widgets/qsizegrip/tst_qsizegrip.cpp
+++ b/tests/auto/widgets/widgets/qsizegrip/tst_qsizegrip.cpp
@@ -140,6 +140,7 @@ void tst_QSizeGrip::hideAndShowOnWindowStateChange()
#ifndef Q_OS_MAC
QVERIFY(!sizeGrip->isVisible());
#else
+ QEXPECT_FAIL("", "QTBUG-23681", Abort);
QVERIFY(sizeGrip->isVisible());
#endif