From d5f2fadef4e387b2cc4c4496abb83faede43549a Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Wed, 12 Oct 2022 14:10:30 +0200 Subject: [PATCH] tests: skip tst_QWidget::renderInvisible() on Wayland Task-number: QTBUG-107157 Change-Id: I405a5dfc915b754e30389208cc0bdb01f17ed166 Reviewed-by: Eskil Abrahamsen Blomfeldt (cherry picked from commit 584aa8ad41303ff089c99c3ded93bb085c78745f) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp index ca069ee4f7d..c4a144cbd20 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp @@ -7529,6 +7529,9 @@ void tst_QWidget::renderInvisible() if (m_platform == QStringLiteral("xcb")) QSKIP("QTBUG-26424"); + if (m_platform.startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) + QSKIP("Wayland: Skip this test, see also QTBUG-107157"); + QScopedPointer calendar(new QCalendarWidget); calendar->move(m_availableTopLeft + QPoint(100, 100)); calendar->setWindowTitle(QLatin1String(QTest::currentTestFunction()));