summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-08-09 12:18:26 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-09 16:28:34 +0200
commit0352c74755a0e593b8fe32fd4bedf8f73e2cc155 (patch)
tree5319910bfd83f84324f83af4416f630035ae065a /tests/auto
parent08d91d4b8e72b8fe6f6a86b53c995fb548cff81b (diff)
test: Mark tst_QGlyphRun::drawMultiScriptText2() as XFAIL
This is a flaky test on OS X 10.8, so marking it as XFAIL if it is expected to fail. Task-number: QTBUG-32690 Change-Id: I0665c7474bb62c4c0a70e4b93cc977e3dbf1e150 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp b/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp
index 6b06424ad7..3f6eaae89b 100644
--- a/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp
+++ b/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp
@@ -502,6 +502,10 @@ void tst_QGlyphRun::drawMultiScriptText2()
drawGlyphs.save("drawMultiScriptText2_drawGlyphIndexes.png");
#endif
+#ifdef Q_OS_MACX
+ if (drawGlyphs.toImage() != textLayoutDraw.toImage())
+ QEXPECT_FAIL("", "See QTBUG-32690", Continue);
+#endif // Q_OS_MACX
QCOMPARE(drawGlyphs, textLayoutDraw);
}