From 4f5f1e3ea9317f37e55028631f493f4a709cd8a5 Mon Sep 17 00:00:00 2001 From: Allan LeSage Date: Tue, 6 Dec 2011 18:51:58 -0600 Subject: Added coverage reporting via gcov config and targets. --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 67445d5..46f36ab 100644 --- a/configure.ac +++ b/configure.ac @@ -90,6 +90,16 @@ PKG_CHECK_MODULES(STATUS_PROVIDER_EMESENE, dbus-glib-1) AC_SUBST(STATUS_PROVIDER_EMESENE_CFLAGS) AC_SUBST(STATUS_PROVIDER_EMESENE_LIBS) +########################### +# gcov coverage reporting +########################### + +m4_include([m4/gcov.m4]) +AC_TDD_GCOV +AC_SUBST(COVERAGE_CFLAGS) +AC_SUBST(COVERAGE_CXXFLAGS) +AC_SUBST(COVERAGE_LDFLAGS) + ########################### # Check to see if we're local ########################### @@ -191,4 +201,5 @@ Messaging Indicator Configuration: Prefix: $prefix Indicator Dir: $INDICATORDIR + gcov: $use_gcov ]) -- cgit v1.2.3