diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-08-18 14:14:41 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-18 08:05:38 +0200 |
commit | 66fbd24849cf89782b4679e6376fd5429370d05a (patch) | |
tree | bf8d26270db34f71401839fdfe26c722bce200ce /tests | |
parent | 0c9bd2829866b1071effcd53003c8356a3170094 (diff) |
test: skipped unstable portion of tst_qcssparser on qpa
This test unstably fails because font lookup is somewhat broken for qpa.
Task-number: QTBUG-20986
Change-Id: Id4ebd35e979d8837d32b58e5ed9c1df3ac15827a
Reviewed-on: http://codereview.qt.nokia.com/3130
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qcssparser/tst_qcssparser.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qcssparser/tst_qcssparser.cpp b/tests/auto/qcssparser/tst_qcssparser.cpp index 23cb9e73f2..1e82431a48 100644 --- a/tests/auto/qcssparser/tst_qcssparser.cpp +++ b/tests/auto/qcssparser/tst_qcssparser.cpp @@ -1590,6 +1590,14 @@ void tst_QCssParser::extractFontFamily() QFont fnt; extractor.extractFont(&fnt, &adjustment); QFontInfo info(fnt); + +#ifdef Q_WS_QPA + // Note, we have to QSKIP rather than QEXPECT_FAIL because font lookup is broken + // such that it may work or not work depending on the order in which fonts were + // loaded from disk + QSKIP("QTBUG-20986 may fail on qpa", SkipSingle); +#endif + QTEST(info.family(), "expectedFamily"); } |