~dbusmenu-team/libdbusmenu/trunk.0.6

Viewing all changes in revision 399.

  • Committer: Charles Kerr
  • Date: 2012-04-04 02:33:03 UTC
  • mfrom: (377.4.1 dbusmenu)
  • Revision ID: charles.kerr@canonical.com-20120404023303-hoab9gx2nckg5r05
Merge lp:~allanlesage/dbusmenu/TDD to add 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: