Don't attempt to build benchmarks if release-mode Qt is not available
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 21 Jun 2011 12:04:01 +0000 (14:04 +0200)
committerQt Continuous Integration System <qt-info@nokia.com>
Tue, 21 Jun 2011 15:44:27 +0000 (17:44 +0200)
commita93a81be7d9b3c4902451475d7c06201292f82ec
tree1bef05a6badafe8ace9c2a726815d9f3ad97fcb1
parentae4b4696a53aba6e81491a5d9796ca03adfb2953
Don't attempt to build benchmarks if release-mode Qt is not available

All of the benchmarks explicitly turn on release mode.  This fails on
Mac and Windows if Qt is configured as debug-only.  It is also possibly
misleading on Linux, as compiling the benchmark in release mode does
not imply that Qt is compiled in release mode.

The results are generally not useful if release mode Qt is not
available, so disable them by default in this case.

Change-Id: Ifa2bb6ab6412dd360ff9dfb890ace2f51e0eef86
Reviewed-on: http://codereview.qt.nokia.com/549
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jo Asplin <jo.asplin@nokia.com>
tests/tests.pro