path: root/tests/
diff options
authorRohan McGovern <>2011-06-23 10:48:33 +0200
committerQt by Nokia <>2011-11-15 07:21:48 +0100
commit4e014ace452af8f1e22b95ba22d112fc2419ec6d (patch)
tree8a891f75e7cfcd194580fecb1db64479ab3de01b /tests/
parentb4d23e61ed19c770caf6b993a8ab0e4474d3f417 (diff)
Integrate testcocoon support into Qt build system.
To instrument a Qt application or library with the TestCocoon coverage tool, do `CONFIG+=testcocoon' in the application .pro file. To instrument Qt itself with testcocoon, use the `-testcocoon' configure option. Change-Id: Ie77109a078d11ea51f7a073621e0df9c752c44ae Reviewed-by: Oswald Buddenhagen <> Reviewed-by: Rohan McGovern <>
Diffstat (limited to 'tests/')
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ b/tests/
index d91d696673..7e129e0b5e 100644
--- a/tests/
+++ b/tests/
@@ -3,5 +3,6 @@ TEMPLATE = subdirs
SUBDIRS = auto
# benchmarks in debug mode is rarely sensible
-contains(QT_CONFIG,release):SUBDIRS += benchmarks
+# benchmarks are not sensible for code coverage (here with tool testcocoon)
+!testcocoon:contains(QT_CONFIG,release):SUBDIRS += benchmarks