Merge lp:~fginther/bamf/add-code-coverage into lp:bamf/0.4
| Status: | Merged |
|---|---|
| Approved by: | Francis Ginther on 2012-12-17 |
| Approved revision: | 504 |
| Merged at revision: | 508 |
| Proposed branch: | lp:~fginther/bamf/add-code-coverage |
| Merge into: | lp:bamf/0.4 |
| Diff against target: |
221 lines (+154/-0) 6 files modified
Makefile.am (+2/-0) Makefile.am.coverage (+48/-0) configure.ac (+11/-0) lib/libbamf/Makefile.am (+2/-0) m4/gcov.m4 (+89/-0) src/Makefile.am (+2/-0) |
| To merge this branch: | bzr merge lp:~fginther/bamf/add-code-coverage |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2012-12-17 | |
| Marco Trevisan (Treviño) | Approve on 2012-12-17 | ||
| Allan LeSage (community) | 2012-12-06 | 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.
| Allan LeSage (allanlesage) wrote : | # |
I think this might be necessary:
=== modified file 'lib/libbamf/
--- lib/libbamf/
+++ lib/libbamf/
@@ -73,7 +73,7 @@
libbamf3_
-shared \
-export-
- $(COVERAGE_CFLAGS) \
+ $(COVERAGE_LDFLAGS) \
$(NULL)
glib_marshal_list = bamf-marshal.list
Otherwise looks good!
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:504
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:504
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Francis Ginther (fginther) wrote : | # |
Allan, thanks for catching the error. I've fixed it and also fixed some 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).
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
| Francis Ginther (fginther) wrote : | # |
Cleaned up stale dbus process on test systems and re-trying.

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