diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-06-23 10:48:33 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-15 07:21:48 +0100 |
commit | 4e014ace452af8f1e22b95ba22d112fc2419ec6d (patch) | |
tree | 8a891f75e7cfcd194580fecb1db64479ab3de01b /tests/tests.pro | |
parent | b4d23e61ed19c770caf6b993a8ab0e4474d3f417 (diff) | |
download | qtbase-4e014ace452af8f1e22b95ba22d112fc2419ec6d.tar.gz |
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 <oswald.buddenhagen@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/tests.pro')
-rw-r--r-- | tests/tests.pro | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |