From 4e014ace452af8f1e22b95ba22d112fc2419ec6d Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Thu, 23 Jun 2011 10:48:33 +0200 Subject: 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 --- tests/tests.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/tests.pro b/tests/tests.pro index d91d696673..7e129e0b5e 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -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 } -- cgit v1.2.3