From 4aa9756066f68f9e3334267c4ea218de67cce05a Mon Sep 17 00:00:00 2001 From: Toby Tomkins Date: Tue, 27 Sep 2011 13:57:07 +1000 Subject: [PATCH] [autotest] Abort an unstable test for developer build. Task-number: QTBUG-21685 Change-Id: I96abcc88d861ce2c5b8778b56f34d42b58c4eb53 Reviewed-on: http://codereview.qt-project.org/5574 Reviewed-by: Qt Sanity Bot Reviewed-by: Michael Brasser --- .../declarative/qsgmousearea/tst_qsgmousearea.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tests/auto/declarative/qsgmousearea/tst_qsgmousearea.cpp b/tests/auto/declarative/qsgmousearea/tst_qsgmousearea.cpp index 2f91f15..4db3c31 100644 --- a/tests/auto/declarative/qsgmousearea/tst_qsgmousearea.cpp +++ b/tests/auto/declarative/qsgmousearea/tst_qsgmousearea.cpp @@ -649,6 +649,9 @@ void tst_QSGMouseArea::clickThrough() QApplication::sendEvent(canvas, &releaseEvent); QCOMPARE(canvas->rootObject()->property("presses").toInt(), 0); +#ifdef QT_BUILD_INTERNAL + QEXPECT_FAIL("", "QTBUG-21685 - Unstable test for developer build", Abort); +#endif QCOMPARE(canvas->rootObject()->property("clicks").toInt(), 1); QCOMPARE(canvas->rootObject()->property("pressAndHolds").toInt(), 1); -- 1.7.2.5