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 /src/widgets/widgets.pro | |
parent | b4d23e61ed19c770caf6b993a8ab0e4474d3f417 (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 <oswald.buddenhagen@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/widgets/widgets.pro')
-rw-r--r-- | src/widgets/widgets.pro | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/widgets/widgets.pro b/src/widgets/widgets.pro index d0425cac25..8f6a9713f6 100644 --- a/src/widgets/widgets.pro +++ b/src/widgets/widgets.pro @@ -44,6 +44,14 @@ contains(DEFINES,QT_EVAL):include($$QT_SOURCE_TREE/src/corelib/eval.pri) QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtGui.dynlist +# Code coverage with TestCocoon +# The following is required as extra compilers use $$QMAKE_CXX instead of $(CXX). +# Without this, testcocoon.prf is read only after $$QMAKE_CXX is used by the +# extra compilers. +testcocoon { + load(testcocoon) +} + DEFINES += Q_INTERNAL_QAPP_SRC INCLUDEPATH += ../3rdparty/harfbuzz/src |