tst_qcombobox: skip popupPositionAfterStyleChange on QEMU
The test turns out to be flaky on QEMU. Fixes: QTBUG-114760 Pick-to: 6.5 Change-Id: I264f79e9a056e82d4e6735e6ead0710ddabd8eba Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit d74235db5db736e196989cb8271980bcd37ce1d7)
This commit is contained in:
parent
e1fe8963a7
commit
ff8da2cf30
@ -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>
|
||||
|
||||
@ -3400,6 +3401,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…
x
Reference in New Issue
Block a user