From ff8da2cf3033c287b3d7da7428877cc8d008ef99 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.5 Change-Id: I264f79e9a056e82d4e6735e6ead0710ddabd8eba Reviewed-by: Volker Hilsheimer (cherry picked from commit d74235db5db736e196989cb8271980bcd37ce1d7) --- 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 cb4a99e30a3..ea25fae136b 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 @@ -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();