aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Tomkins <toby.tomkins@nokia.com>2011-09-27 13:57:07 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-28 02:14:48 +0200
commit4aa9756066f68f9e3334267c4ea218de67cce05a (patch)
treeef0584efe723d348d683da75e295660ffeff170c
parent6eb4ed254ab5e2143e6ff7e7202c049d0642a9fa (diff)
[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 <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
-rw-r--r--tests/auto/declarative/qsgmousearea/tst_qsgmousearea.cpp3
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 2f91f15211..4db3c314db 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);