Merge lp://staging/~allanlesage/libappindicator/TDD into lp://staging/libappindicator/0.5

Proposed by Allan LeSage
Status: Merged
Approved by: Charles Kerr
Approved revision: 233
Merged at revision: 239
Proposed branch: lp://staging/~allanlesage/libappindicator/TDD
Merge into: lp://staging/libappindicator/0.5
Diff against target: 201 lines (+152/-0)
5 files modified
Makefile.am (+2/-0)
Makefile.am.coverage (+48/-0)
configure.ac (+14/-0)
m4/gcov.m4 (+86/-0)
src/Makefile.am (+2/-0)
To merge this branch: bzr merge lp://staging/~allanlesage/libappindicator/TDD
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
Review via email: mp+100429@code.staging.launchpad.net

Description of the change

Adding gcov targets to autotools build for code-coverage reporting. For more information, see this blog post: http://qualityhour.wordpress.com/2012/01/29/test-coverage-tutorial-for-cc-autotools-projects/ . To compile with coverage tooling, ./autogen.sh --enable-gcov, then make coverage-html . Note that you'll need lcov to autoconf. Also note that you'll get an error on make if you have no tests, as there are no coverage artifacts to generate the html report. For review, please pay special attention to flags added in the project's makefiles.

To post a comment you must log in.
Revision history for this message
Charles Kerr (charlesk) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches