diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2016-11-30 16:04:50 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2016-11-30 15:43:20 +0000 |
commit | 493366749ac2e5e7ed856dc0c1cea4471bfdea83 (patch) | |
tree | c986799ff523196b548d138e597ec547f9383407 /.qmake.conf | |
parent | b7b75f51a017866aee40b21c7e1f3ef93ef45d9f (diff) |
Fixed and simplified the "make check-coverage" build target5.7
Instead of collecting all coverage information manually by navigating
thru all sub-trees, we now let lcov recursive scan all folders.
This has the advantage that the code coverage always contains the
complete code base without the need for manually updating the pro files.
Also the check-branch-coverage got removed and branch-coverage is now
automatically part of the check-coverage target
Change-Id: I027d1285121b7584ba48ad5b9435fcf7757d4f2a
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to '.qmake.conf')
-rw-r--r-- | .qmake.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.qmake.conf b/.qmake.conf index 6e80bc40..5b85deb4 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -5,3 +5,8 @@ MODULE_VERSION = 1.9.9 SOURCE_DIR=$$PWD BUILD_DIR=$$shadowed($$PWD) QMAKEFEATURES=$$SOURCE_DIR/qmake-features + +# Load the am-coverage feature in every pro file +# This makes sure we compile everything with coverage data +# when the coverage target gets executed +CONFIG += am-coverage |