tests: skip tst_QGridLayout::setMinAndMaxSize() on Wayland

Task-number: QTBUG-107184
Pick-to: 6.4 6.2
Change-Id: Iddc280acd18e230d1ae778ccb6d7d17a8ff3d76c
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
Liang Qi 2022-10-12 16:10:57 +02:00
parent 3846b27dd8
commit 7f27189d90

View File

@ -210,6 +210,9 @@ void tst_QGridLayout::badDistributionBug()
void tst_QGridLayout::setMinAndMaxSize()
{
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
QSKIP("This test crashes on Wayland, see also QTBUG-107184");
QWidget widget;
setFrameless(&widget);
QGridLayout layout(&widget);