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>
This commit is contained in:
parent
00c074d6c5
commit
893ffbf0ad
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user