path: root/tests/
diff options
authorRohan McGovern <>2011-06-21 14:04:01 +0200
committerQt Continuous Integration System <>2011-06-21 17:44:27 +0200
commita93a81be7d9b3c4902451475d7c06201292f82ec (patch)
tree1bef05a6badafe8ace9c2a726815d9f3ad97fcb1 /tests/
parentae4b4696a53aba6e81491a5d9796ca03adfb2953 (diff)
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: Reviewed-by: Qt Sanity Bot <> Reviewed-by: Jo Asplin <>
Diffstat (limited to 'tests/')
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/ b/tests/
index 75ca12094f..7a4af15fe2 100644
--- a/tests/
+++ b/tests/
@@ -1,3 +1,5 @@
TEMPLATE = subdirs
-SUBDIRS = auto \
- benchmarks
+SUBDIRS = auto
+# benchmarks in debug mode is rarely sensible
+contains(QT_CONFIG,release):SUBDIRS += benchmarks