test: fixed tst_qimagereader and removed CONFIG+=insignificant_test
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 1 Aug 2011 23:44:09 +0000 (09:44 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 2 Aug 2011 05:37:08 +0000 (07:37 +0200)
commitb117c3175e324446709ac77d6385d1c0f4c3315e
tree483e96f76e8e59703bfc6fefd7fb0ccfdb4db450
parent6e745ecda73c360195de8760473eca88b31f87cf
test: fixed tst_qimagereader and removed CONFIG+=insignificant_test

This test assumed that Qt's available image formats could be determined
at compile time.  This was never correct since the image formats are
loaded from plugins at runtime; in Qt5 it became a real problem since
one image format (svg) was moved out of qtbase into a separate module,
turning this into a circular dependency: this test in qtbase depends on
qtsvg, which depends on qtbase.

Always check the image formats at runtime instead.

Change-Id: I5e770c5b11276c39910e34f232a2fea0a7abaa8c
Reviewed-on: http://codereview.qt.nokia.com/2457
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
tests/auto/qimagereader/qimagereader.pro
tests/auto/qimagereader/tst_qimagereader.cpp