tests: tst_QWidget::renderChildFillsBackground() passes on Wayland
This amends 1453f048f5
.
Task-number: QTBUG-107157
Pick-to: 6.4
Change-Id: I606dd2013e11a4f7639fea59d75091191fd30d87
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
89b54bb4ec
commit
ca8554d338
@ -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…
Reference in New Issue
Block a user