Set tst_qtoolbutton triggered function skipped.
authorToby Tomkins <toby.tomkins@nokia.com>
Mon, 20 Feb 2012 05:46:46 +0000 (15:46 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 20 Feb 2012 07:06:14 +0000 (08:06 +0100)
This autotest seems to be caught in an event loop preventing further
correct signalling. Mark test function skipped with QSKIP.

Task-number: QTBUG-24374

Change-Id: Ic943a33b71fa87d0873278cb7b7b134c22602be3
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/widgets/widgets/qtoolbutton/tst_qtoolbutton.cpp

index 48b68d1..df4efd6 100644 (file)
@@ -142,6 +142,10 @@ void tst_QToolButton::triggered()
     QCOMPARE(spy.count(),1);
     QCOMPARE(qvariant_cast<QAction *>(spy.at(0).at(0)), def);
 
+#ifdef Q_OS_MAC
+    QSKIP("QTBUG-24374 - This test hangs here on Mac OSX");
+#endif
+
     w = menu;
     QTimer::singleShot(30, this, SLOT(sendMouseClick()));
     tb.showMenu();