tst_qcombobox: skip popupPositionAfterStyleChange on QEMU
The test turns out to be flaky on QEMU. Fixes: QTBUG-114760 Pick-to: 6.6 6.5 Change-Id: I264f79e9a056e82d4e6735e6ead0710ddabd8eba Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
7fee97cb2e
commit
d74235db5d
@ -48,6 +48,7 @@
|
||||
#include <private/qinputmethod_p.h>
|
||||
|
||||
#include <QtTest/private/qtesthelpers_p.h>
|
||||
#include <QtTest/private/qemulationdetector_p.h>
|
||||
|
||||
#include <QtWidgets/private/qapplication_p.h>
|
||||
|
||||
@ -3399,6 +3400,8 @@ void tst_QComboBox::popupPositionAfterStyleChange()
|
||||
const bool usePopup = qApp->style()->styleHint(QStyle::SH_ComboBox_Popup, &opt, &box);
|
||||
if (!usePopup)
|
||||
QSKIP("This test is only relevant for styles that centers the popup on top of the combo!");
|
||||
if (QTestPrivate::isRunningArmOnX86())
|
||||
QSKIP("Flaky on QEMU, QTBUG-114760");
|
||||
|
||||
box.addItems({"first", "middle", "last"});
|
||||
box.show();
|
||||
|
Loading…
Reference in New Issue
Block a user