Merge lp:~fginther/dee/add-code-coverage into lp:dee
| Status: | Merged |
|---|---|
| Approved by: | Michal Hruby on 2012-12-14 |
| Approved revision: | 396 |
| Merged at revision: | 395 |
| Proposed branch: | lp:~fginther/dee/add-code-coverage |
| Merge into: | lp:dee |
| Diff against target: |
211 lines (+156/-2) 5 files modified
Makefile.am (+4/-0) Makefile.am.coverage (+48/-0) build/autotools/gcov.m4 (+89/-0) configure.ac (+11/-0) src/Makefile.am (+4/-2) |
| To merge this branch: | bzr merge lp:~fginther/dee/add-code-coverage |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michal Hruby (community) | Approve on 2012-12-14 | ||
| PS Jenkins bot | continuous-integration | 2012-12-12 | Approve on 2012-12-13 |
|
Review via email:
|
|||
Commit Message
Add code coverage reporting with coverage-html and coverage-gcovr targets.
Coverage reporting can be enabled with --enable-gcov.
Description of the Change
Add code coverage reporting with coverage-html and coverage-gcovr targets.
Coverage reporting can be enabled with --enable-gcov.
Testing:
- Built coverage targets and verified results.
- Built in pbuilder chroot with hooks to enable gcovr report.
- 396. By Francis Ginther on 2012-12-13
-
Fixed building for non-srcdir builds and cleaned up a warning message.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:396
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Francis Ginther (fginther) wrote : | # |
I've fixed the issues with non-srcdir builds:
# mkdir builddir;cd builddir; ../autogen.sh; make
Retested with local builds, pbuilder and jenkins (the -ci run above includes coverage data).
| Michal Hruby (mhr3) wrote : | # |
Seems to work fine now (minus some warnings about double PHONY declaration)

PASSED: Continuous integration, rev:395 jenkins. qa.ubuntu. com/job/ dee-mbs- ci/3/ jenkins. qa.ubuntu. com/job/ dee-mbs- ci/./build= pbuilder, distribution= quantal, flavor= amd64/3/ console jenkins. qa.ubuntu. com/job/ dee-mbs- ci/./build= pbuilder, distribution= quantal, flavor= i386/3/ console
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: jenkins. qa.ubuntu. com/job/ dee-mbs- ci/3//rebuild/?
http://