From d74235db5db736e196989cb8271980bcd37ce1d7 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Fri, 23 Jun 2023 11:18:50 +0200 Subject: [PATCH] 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 --- tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp b/tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp index 2a88a1957b7..a1555eeb2d5 100644 --- a/tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp +++ b/tests/auto/widgets/widgets/qcombobox/tst_qcombobox.cpp @@ -48,6 +48,7 @@ #include #include +#include #include @@ -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();