diff options
author | Allan LeSage <allan.lesage@canonical.com> | 2013-11-21 19:14:21 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-11-21 19:14:21 +0000 |
commit | 875ee4d733ce751fcd8d974a32c4bfdebbe501a3 (patch) | |
tree | 406500af69bd6555eb4e4dc63e3711bd341bb6b4 /lib | |
parent | f90c7c21d0e82779356eaa8ae471703cda45d7cc (diff) | |
parent | bf2aab363e93263b1615f1811524fb22b14bf34b (diff) | |
download | ayatana-indicator-keyboard-875ee4d733ce751fcd8d974a32c4bfdebbe501a3.tar.gz ayatana-indicator-keyboard-875ee4d733ce751fcd8d974a32c4bfdebbe501a3.tar.bz2 ayatana-indicator-keyboard-875ee4d733ce751fcd8d974a32c4bfdebbe501a3.zip |
Add gcov coverage tooling; use ./autogen.sh --enable-gcov and then make coverage-html to see a report of what's covered. You can read about the rationale in this old blog post: http://qualityhour.wordpress.com/2012/01/29/test-coverage-tutorial-for-cc-autotools-projects/ .
Approved by William Hua, PS Jenkins bot.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index fc6eeb42..72f5f949 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -32,7 +32,8 @@ indicator_keyboard_service_CFLAGS = $(AM_CFLAGS) \ $(IBUS_CFLAGS) \ $(ACCOUNTSSERVICE_CFLAGS) \ $(LIGHTDM_CFLAGS) \ - $(BAMF_CFLAGS) + $(BAMF_CFLAGS) \ + $(COVERAGE_CFLAGS) indicator_keyboard_service_LDFLAGS = $(AM_LDFLAGS) \ $(GEE_LIBS) \ $(PANGOCAIRO_LIBS) \ @@ -43,4 +44,5 @@ indicator_keyboard_service_LDFLAGS = $(AM_LDFLAGS) \ $(IBUS_LIBS) \ $(ACCOUNTSSERVICE_LIBS) \ $(LIGHTDM_LIBS) \ - $(BAMF_LIBS) + $(BAMF_LIBS) \ + $(COVERAGE_LDFLAGS) |