From cd13fe44cd76e7aa821678fba58cb7d552aab2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simo=20F=C3=A4lt?= Date: Mon, 7 Oct 2013 09:12:31 +0300 Subject: [PATCH] Skip tst_QGraphicsItem::paint() on Mac OS X 10.7 The test is randomly failing on CI when ran on 10.7. Task-number: QTBUG-31454 Change-Id: I79fce9a37616c6abaee960e338f8eea8fe6f31cf Reviewed-by: Jani Heikkinen Reviewed-by: Gunnar Sletta --- .../widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp index 2c03850181..b45ce88c83 100644 --- a/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp @@ -5089,6 +5089,10 @@ public: void tst_QGraphicsItem::paint() { +#ifdef Q_OS_MACX + if (QSysInfo::MacintoshVersion == QSysInfo::MV_10_7) + QSKIP("QTBUG-31454 - Unstable auto-test"); +#endif QGraphicsScene scene; PaintTester paintTester;