From 18b87ec8068c5bf98aed9f507d43cba451dab665 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 3 Sep 2012 23:11:11 +0200 Subject: Add code coverage support Needs a fairly recent gnome-common. To use do: - Run configure with --enable-code-coverage - Type 'make check-code-coverage' - Open the HTML results https://bugzilla.gnome.org/show_bug.cgi?id=683297 --- configure.ac | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 10946e853..b547181aa 100644 --- a/configure.ac +++ b/configure.ac @@ -71,6 +71,8 @@ GNOME_DEBUG_CHECK GNOME_COMPILE_WARNINGS([maximum]) GNOME_MAINTAINER_MODE_DEFINES +GNOME_CODE_COVERAGE + MORE_WARN_FLAGS="-Wdeclaration-after-statement" DEPRECATION_FLAGS= @@ -302,13 +304,14 @@ AC_OUTPUT echo " Epiphany was configured with the following options: - Source code location : $srcdir - Compiler : $CC - Prefix : $prefix - Extra debugging support : $enable_debug - - GObject introspection : $found_introspection - NSS support : $enable_nss + Source code location : $srcdir + Compiler : $CC + Prefix : $prefix + Extra debugging support : $enable_debug Build tests : $enable_tests - WebKit2 : $with_webkit2 + Code coverage : $enable_code_coverage + + GObject introspection : $found_introspection + NSS support : $enable_nss + WebKit2 : $with_webkit2 " -- cgit v1.2.3