Set tst_qtoolbutton triggered function skipped.

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>
bb10
Toby Tomkins 2012-02-20 15:46:46 +10:00 committed by Qt by Nokia
parent 7fbe7fd7b5
commit 2465143f24
1 changed files with 4 additions and 0 deletions

View 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();