[autotests] Added expected failure for developer build in currentIndex test.
authorToby Tomkins <toby.tomkins@nokia.com>
Tue, 27 Sep 2011 03:02:25 +0000 (13:02 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 27 Sep 2011 03:13:29 +0000 (05:13 +0200)
Task-number: QTBUG-21680

Change-Id: Ic33f4f4fc96529e0a3b2be4150829ab62fe078ff
Reviewed-on: http://codereview.qt-project.org/5565
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
tests/auto/declarative/qsggridview/tst_qsggridview.cpp

index f5cda2b..2624a48 100644 (file)
@@ -1157,6 +1157,9 @@ void tst_QSGGridView::currentIndex()
     // to be safe and avoid failing setFocus with window managers
     qt_x11_wait_for_window_manager(canvas);
 #endif
+#ifdef QT_BUILD_INTERNAL
+    QEXPECT_FAIL("", "QTBUG-21680 - Waiting for active window fails for Developer build", Abort);
+#endif
     QTRY_VERIFY(canvas->windowState() == Qt::WindowActive);
     qApp->processEvents();