From 8e11d8b3ae5cb5f1053f651270685f9b808f3371 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Fri, 20 Apr 2012 02:25:18 +1000 Subject: [PATCH] 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 --- tests/auto/widgets/widgets/qsizegrip/qsizegrip.pro | 2 -- tests/auto/widgets/widgets/qsizegrip/tst_qsizegrip.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/auto/widgets/widgets/qsizegrip/qsizegrip.pro b/tests/auto/widgets/widgets/qsizegrip/qsizegrip.pro index 98cf169..1149b50 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 4c5df04..a0a314b 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 -- 2.7.4