diff options
author | Liang Qi <liang.qi@qt.io> | 2022-10-12 14:57:04 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-10-15 08:18:33 +0000 |
commit | 893ffbf0ade70b1f3ce703c5e599fd2deb4e5b52 (patch) | |
tree | 1b60135a10b0798c801a6145676fbb80f6ce93f5 /tests | |
parent | 00c074d6c5f990104b833b397f0ed4b36d941046 (diff) |
tests: tst_QWidget::renderChildFillsBackground() passes on Wayland
This amends 1453f048f535d98ea2454462875eed77a966bcde.
Task-number: QTBUG-107157
Change-Id: I606dd2013e11a4f7639fea59d75091191fd30d87
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit ca8554d338c7d16c63dca93a7fcee2d2463a6664)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp index c4a144cbd2..f46a21a7c0 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp @@ -7465,7 +7465,8 @@ void tst_QWidget::renderChildFillsBackground() #ifndef Q_OS_ANDROID // On Android all widgets are shown maximized, so the pixmaps // will be similar - QEXPECT_FAIL("", "This test fails on all platforms", Continue); + if (!m_platform.startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) + QEXPECT_FAIL("", "This test fails on all platforms", Continue); #endif QCOMPARE(childPixmap, windowPixmap); } |