summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-02-26 16:27:56 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-02-27 08:49:18 +0000
commit40451d3258fc1f869667c04f6f7aae7e72040ce0 (patch)
treec4e8b9b1408e667b1841acc0104911dbf6cfb4ab
parentddafbb501f27d8e39e846f7cb4e1ccb4207e2363 (diff)
Disable building benchmarks in debug builds
Because linking fails on Windows due to the benchmarks being release-only. Change-Id: I386b38f10ec5018f34bbbd45c6ff29ad6925faa5 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r--tests/tests.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/tests.pro b/tests/tests.pro
index 73a5dc457..55b817602 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -1,3 +1,7 @@
TEMPLATE = subdirs
-!package: SUBDIRS += auto benchmarks
+!package: SUBDIRS += auto
+
+# Benchmarks make sense in release mode only.
+# Disable them for code coverage.
+!testcocoon: contains(QT_CONFIG,release): SUBDIRS += benchmarks