tests: XFAIL tst_QImageReader::setScaledClipRect() SVG/SVGZ
on Wayland Task-number: QTBUG-100917 Pick-to: 6.3 6.2 Change-Id: I66c42bb0ceca83fd0531159c606d22c58b18b371 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
745893997a
commit
2b3d11383e
@ -512,6 +512,8 @@ void tst_QImageReader::setScaledClipRect()
|
||||
QImageReader originalReader(prefix + fileName);
|
||||
originalReader.setScaledSize(QSize(300, 300));
|
||||
QImage originalImage = originalReader.read();
|
||||
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive) && format.contains("svg"))
|
||||
QEXPECT_FAIL("", "This fails on Wayland, see QTBUG-100917.", Abort);
|
||||
QCOMPARE(originalImage.copy(newRect), image);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user