test: skip some tst_qtextscriptengine tests when fonts are missing
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 2 Aug 2011 01:35:01 +0000 (11:35 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 2 Aug 2011 07:01:18 +0000 (09:01 +0200)
commitaf6c1a32982564035f3f9d1c0887c9d3fc0e5bbb
tree00e2afc2053387119e7ad22b6422bb96646bbfca
parentc8ee59952a050506dfebe939c04af2e67aaee849
test: skip some tst_qtextscriptengine tests when fonts are missing

This autotest may fail depending on the version of fonts which are
installed on the system.  It has no way to verify if the correct fonts
are installed, and it's unclear from where the correct version of the
fonts may be obtained.

Therefore, disable the test by default unless the user has indicated
that they have a correct setup by setting QT_HAVE_TEST_FONTS=1.

Task-number: QTBUG-20682
Change-Id: I24174520f54af6a9b2c13c9c1347f46555bce3d4
Reviewed-on: http://codereview.qt.nokia.com/2469
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
tests/auto/qtextscriptengine/qtextscriptengine.pro
tests/auto/qtextscriptengine/tst_qtextscriptengine.cpp