Reduce the runtime of tst_selftests
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 17 Oct 2011 04:11:13 +0000 (14:11 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 17 Oct 2011 22:56:54 +0000 (00:56 +0200)
commitbe9939ac8988deb17cf0f2c29bed6b3e0fbbcf40
tree289a71824d0b3457d75ceebfc46b581a17d66227
parent4ab691ad65967be01e4d4eb90c2b044e0307fa77
Reduce the runtime of tst_selftests

The addition of testing for multiple loggers greatly increased the total
runtime of this test, in fact making it the slowest testcase in Qt.
Fortunately this is only due to a couple of slow subtests whose behavior
is unlikely to be affected by the loggers.  Change it to run these slow
subtests just for a couple of loggers, instead of all the combinations.

Change-Id: Ie90f6c0ca29470ed6a7c4e2e185f852602a2d162
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
tests/auto/testlib/selftests/tst_selftests.cpp