Merge lp:~fginther/nux/add-code-coverage into lp:nux
Proposed by
Francis Ginther
Status: | Merged |
---|---|
Approved by: | Brandon Schaefer |
Approved revision: | 732 |
Merged at revision: | 732 |
Proposed branch: | lp:~fginther/nux/add-code-coverage |
Merge into: | lp:nux |
Diff against target: |
259 lines (+163/-6) 7 files modified
Makefile.am (+1/-0) Makefile.am.coverage (+49/-0) Nux/Makefile.am (+4/-2) NuxCore/Makefile.am (+4/-2) NuxGraphics/Makefile.am (+4/-2) configure.ac (+12/-0) m4/gcov.m4 (+89/-0) |
To merge this branch: | bzr merge lp:~fginther/nux/add-code-coverage |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Brandon Schaefer (community) | Approve | ||
Allan LeSage (community) | Approve | ||
Review via email: mp+138007@code.launchpad.net |
Commit message
Add code coverage reporting with coverage-html and coverage-xml targets.
Coverage reporting can be enabled with --enable-gcov.
Description of the change
Add code coverage reporting with coverage-html and coverage-xml 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.
To post a comment you must log in.
* Teensy correction restores coverage for the NuxGraphics dir:
=== modified file 'NuxGraphics/ Makefile. am' Makefile. am 2012-12-04 19:36:00 +0000 Makefile. am 2012-12-05 15:32:28 +0000 GRAPHICS_ CFLAGS) \ _CFLAGS) \
--- NuxGraphics/
+++ NuxGraphics/
@@ -18,7 +18,7 @@
$(NUX_
$(MAINTAINER
$(GEIS_CFLAGS) \
- $(COVERAGE_FLAGS)
+ $(COVERAGE_CFLAGS)
libnux_ graphics_ @NUX_API_ VERSION@ _la_LIBADD = \ builddir) /NuxCore/ libnux- core-@NUX_ API_VERSION@ .la \
$(top_
* I'll attach a diff of what was necessary to get tests running FYI.
* We could consider splitting these tests into "small" and "large" but can take that up in another MP :) .
* The choice to make "make coverage-html" et.al. not depend on "make check" is evidently a considered one to which I don't object.
Approval contingent on the small correction above.