[autotest] Abort an unstable test for developer build.
authorToby Tomkins <toby.tomkins@nokia.com>
Tue, 27 Sep 2011 03:57:07 +0000 (13:57 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Sep 2011 00:14:48 +0000 (02:14 +0200)
Task-number: QTBUG-21685

Change-Id: I96abcc88d861ce2c5b8778b56f34d42b58c4eb53
Reviewed-on: http://codereview.qt-project.org/5574
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>

tests/auto/declarative/qsgmousearea/tst_qsgmousearea.cpp

index 2f91f15..4db3c31 100644 (file)
@@ -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);