From b1aebe568a4f0d0d76e9ea32df47385b26b45c5d Mon Sep 17 00:00:00 2001 From: Allan LeSage Date: Tue, 6 Dec 2011 15:21:45 -0600 Subject: Added coverage reporting via gcov config and targets. --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2357f13..42a476a 100644 --- a/configure.ac +++ b/configure.ac @@ -121,6 +121,15 @@ fi AM_CONDITIONAL(ENABLE_DEBUG, test "$enable_debug" = "yes") +########################### +# gcov coverage reporting +########################### +m4_include([m4/gcov.m4]) +AC_TDD_GCOV +AC_SUBST(COVERAGE_CFLAGS) +AC_SUBST(COVERAGE_CXXFLAGS) +AC_SUBST(COVERAGE_LDFLAGS) + ########################### # Files ########################### @@ -147,4 +156,5 @@ Libindicator Configuration: GTK+ Version: $with_gtk Enable debugging: $enable_debug + Coverage reporting: $use_gcov ]) -- cgit v1.2.3