From 27c3e9fb41df694ffc8eba4522e00e9d47e9232d Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Wed, 12 Oct 2022 13:55:34 +0200 Subject: [PATCH] tests: skip tst_QWidget::setWindowGeometry() on Wayland Task-number: QTBUG-107157 Change-Id: I65a21898d6a5d40a4e7e9eeecf1e2398e45d97fe Reviewed-by: Eskil Abrahamsen Blomfeldt (cherry picked from commit a16fd6bbe2e19e30b8e977fc19c5ca872f78d57a) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp index 795eb06939c..ca069ee4f7d 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp @@ -5606,8 +5606,8 @@ void tst_QWidget::setWindowGeometry_data() void tst_QWidget::setWindowGeometry() { - if (m_platform == QStringLiteral("xcb")) - QSKIP("X11: Skip this test due to Window manager positioning issues."); + if (m_platform == QStringLiteral("xcb") || m_platform.startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) + QSKIP("X11/Wayland: Skip this test due to Window manager positioning issues."); QFETCH(Rects, rects); QFETCH(int, windowFlags);