summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qglyphrun/tst_qglyphrun.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qglyphrun/tst_qglyphrun.cpp b/tests/auto/qglyphrun/tst_qglyphrun.cpp
index a18a2ac8dd..a5a5cd19cc 100644
--- a/tests/auto/qglyphrun/tst_qglyphrun.cpp
+++ b/tests/auto/qglyphrun/tst_qglyphrun.cpp
@@ -93,6 +93,10 @@ void tst_QGlyphRun::initTestCase()
m_testFont = QFont("QtsSpecialTestFont");
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-20760 fails on qpa", Continue);
+#endif
+
QCOMPARE(QFontInfo(m_testFont).family(), QString::fromLatin1("QtsSpecialTestFont"));
}
@@ -237,6 +241,11 @@ void tst_QGlyphRun::textLayoutGlyphIndexes()
layout.endLayout();
QList<QGlyphRun> listOfGlyphs = layout.glyphRuns();
+
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-20760 fails on qpa", Abort);
+#endif
+
QCOMPARE(listOfGlyphs.size(), 1);
QGlyphRun glyphs = listOfGlyphs.at(0);
@@ -283,6 +292,10 @@ void tst_QGlyphRun::drawExistingGlyphs()
drawGlyphs.save("drawExistingGlyphs_drawGlyphIndexes.png");
#endif
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-20760 fails on qpa", Continue);
+#endif
+
QCOMPARE(textLayoutDraw, drawGlyphs);
}