[asterisk-commits] russell: trunk r279954 - in /trunk: ./ apps/ bridges/ cdr/ cel/ channels/ cha...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 27 16:16:43 CDT 2010


Author: russell
Date: Tue Jul 27 16:16:39 2010
New Revision: 279954

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=279954
Log:
Merged revisions 279953 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r279953 | russell | 2010-07-27 16:16:05 -0500 (Tue, 27 Jul 2010) | 5 lines
  
  Add --enable-coverage option to configure script.
  
  This option enables the proper compiler flags for tracking code coverage, which
  is useful along side automated testing.
........

Modified:
    trunk/   (props changed)
    trunk/Makefile.rules
    trunk/apps/   (props changed)
    trunk/bridges/   (props changed)
    trunk/cdr/   (props changed)
    trunk/cel/   (props changed)
    trunk/channels/   (props changed)
    trunk/channels/sip/   (props changed)
    trunk/codecs/   (props changed)
    trunk/codecs/g722/   (props changed)
    trunk/codecs/gsm/src/   (props changed)
    trunk/codecs/lpc10/   (props changed)
    trunk/configure
    trunk/configure.ac
    trunk/formats/   (props changed)
    trunk/funcs/   (props changed)
    trunk/main/   (props changed)
    trunk/main/db1-ast/btree/   (props changed)
    trunk/main/db1-ast/db/   (props changed)
    trunk/main/db1-ast/hash/   (props changed)
    trunk/main/db1-ast/mpool/   (props changed)
    trunk/main/db1-ast/recno/   (props changed)
    trunk/main/editline/   (props changed)
    trunk/main/editline/np/   (props changed)
    trunk/main/stdtime/   (props changed)
    trunk/makeopts.in
    trunk/pbx/   (props changed)
    trunk/res/   (props changed)
    trunk/res/ael/   (props changed)
    trunk/res/ais/   (props changed)
    trunk/res/snmp/   (props changed)
    trunk/utils/   (props changed)

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-1.8-merged (original)
+++ branch-1.8-merged Tue Jul 27 16:16:39 2010
@@ -1,1 +1,1 @@
-/branches/1.8:1-279056,279113,279227,279273,279280,279314,279390,279410,279442,279472,279502,279504,279562,279566,279568,279598,279601,279619,279636-279815,279817,279850,279887,279916,279949
+/branches/1.8:1-279056,279113,279227,279273,279280,279314,279390,279410,279442,279472,279502,279504,279562,279566,279568,279598,279601,279619,279636-279815,279817,279850,279887,279916,279949,279953

Modified: trunk/Makefile.rules
URL: http://svnview.digium.com/svn/asterisk/trunk/Makefile.rules?view=diff&rev=279954&r1=279953&r2=279954
==============================================================================
--- trunk/Makefile.rules (original)
+++ trunk/Makefile.rules Tue Jul 27 16:16:39 2010
@@ -43,10 +43,15 @@
   endif
 endif
 
-ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
+ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS))$(AST_CODE_COVERAGE),no)
     _ASTCFLAGS+=$(OPTIMIZE)
 else
     _ASTCFLAGS+=-O0
+endif
+
+ifeq ($(AST_CODE_COVERAGE),yes)
+    _ASTCFLAGS+=-ftest-coverage -fprofile-arcs
+    _ASTLDFLAGS+=-ftest-coverage -fprofile-arcs
 endif
 
 ifeq ($(findstring $(CONFIG_CFLAGS),$(_ASTCFLAGS)),)

Propchange: trunk/apps/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -9,3 +9,5 @@
 *.so
 *.exports
 modules.link
+*.gcno
+*.gcda

Propchange: trunk/bridges/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -9,4 +9,5 @@
 *.so
 *.exports
 modules.link
-
+*.gcno
+*.gcda

Propchange: trunk/cdr/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -9,3 +9,5 @@
 *.so
 *.exports
 modules.link
+*.gcno
+*.gcda

Propchange: trunk/cel/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -9,3 +9,5 @@
 *.so
 *.exports
 modules.link
+*.gcno
+*.gcda

Propchange: trunk/channels/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -11,3 +11,5 @@
 *.so
 *.exports
 modules.link
+*.gcno
+*.gcda

Propchange: trunk/channels/sip/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -1,1 +1,3 @@
 *.i
+*.gcno
+*.gcda

Propchange: trunk/codecs/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -9,3 +9,5 @@
 *.so
 *.exports
 modules.link
+*.gcno
+*.gcda

Propchange: trunk/codecs/g722/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -2,4 +2,5 @@
 *.s
 libg722.a
 *.d
-
+*.gcno
+*.gcda

Propchange: trunk/codecs/gsm/src/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -1,1 +1,3 @@
 *.i
+*.gcno
+*.gcda

Propchange: trunk/codecs/lpc10/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -3,3 +3,5 @@
 *.d
 *.a
 *.so
+*.gcno
+*.gcda

Modified: trunk/configure.ac
URL: http://svnview.digium.com/svn/asterisk/trunk/configure.ac?view=diff&rev=279954&r1=279953&r2=279954
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Tue Jul 27 16:16:39 2010
@@ -287,6 +287,17 @@
 	esac])
 AC_SUBST(NOISY_BUILD)
 AC_SUBST(AST_DEVMODE)
+
+AST_CODE_COVERAGE=no
+AC_ARG_ENABLE([coverage],
+	[AS_HELP_STRING([--enable-coverage],
+		[Turn on code coverage tracking (for gcov)])],
+	[case "${enableval}" in
+	      y|ye|yes) AST_CODE_COVERAGE=yes ;;
+	      n|no) AST_CODE_COVERAGE=no ;;
+	      *) AC_MSG_ERROR(bad value ${enableval} for --enable-coverage)  ;;
+	esac])
+AC_SUBST(AST_CODE_COVERAGE)
 
 # AST_EXT_LIB_SETUP is used to tell configure to handle variables for
 # various packages.

Propchange: trunk/formats/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -9,3 +9,5 @@
 *.so
 *.exports
 modules.link
+*.gcno
+*.gcda

Propchange: trunk/funcs/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -9,3 +9,5 @@
 *.so
 *.exports
 modules.link
+*.gcno
+*.gcda

Propchange: trunk/main/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -4,3 +4,5 @@
 *.exports
 asterisk
 version.c
+*.gcno
+*.gcda

Propchange: trunk/main/db1-ast/btree/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -1,1 +1,3 @@
 *.i
+*.gcno
+*.gcda

Propchange: trunk/main/db1-ast/db/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -1,1 +1,3 @@
 *.i
+*.gcno
+*.gcda

Propchange: trunk/main/db1-ast/hash/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -1,1 +1,3 @@
 *.i
+*.gcno
+*.gcda

Propchange: trunk/main/db1-ast/mpool/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -1,1 +1,3 @@
 *.i
+*.gcno
+*.gcda

Propchange: trunk/main/db1-ast/recno/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -1,1 +1,3 @@
 *.i
+*.gcno
+*.gcda

Propchange: trunk/main/editline/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -26,3 +26,5 @@
 cygdef.h
 *.a
 *.so
+*.gcno
+*.gcda

Propchange: trunk/main/editline/np/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -3,3 +3,5 @@
 strlcpy.o_a
 strlcat.o_a
 fgetln.o_a
+*.gcno
+*.gcda

Propchange: trunk/main/stdtime/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -2,3 +2,5 @@
 *.a
 *.so
 *.i
+*.gcno
+*.gcda

Modified: trunk/makeopts.in
URL: http://svnview.digium.com/svn/asterisk/trunk/makeopts.in?view=diff&rev=279954&r1=279953&r2=279954
==============================================================================
--- trunk/makeopts.in (original)
+++ trunk/makeopts.in Tue Jul 27 16:16:39 2010
@@ -79,6 +79,8 @@
 AST_DEVMODE=@AST_DEVMODE@
 NOISY_BUILD=@NOISY_BUILD@
 
+AST_CODE_COVERAGE=@AST_CODE_COVERAGE@
+
 AST_DECLARATION_AFTER_STATEMENT=@AST_DECLARATION_AFTER_STATEMENT@
 AST_NO_STRICT_OVERFLOW=@AST_NO_STRICT_OVERFLOW@
 AST_SHADOW_WARNINGS=@AST_SHADOW_WARNINGS@

Propchange: trunk/pbx/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -9,3 +9,5 @@
 *.so
 *.exports
 modules.link
+*.gcno
+*.gcda

Propchange: trunk/res/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -9,3 +9,5 @@
 *.so
 *.exports
 modules.link
+*.gcno
+*.gcda

Propchange: trunk/res/ael/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -1,1 +1,3 @@
 *.i
+*.gcno
+*.gcda

Propchange: trunk/res/ais/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -1,1 +1,3 @@
 *.i
+*.gcno
+*.gcda

Propchange: trunk/res/snmp/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -1,1 +1,3 @@
 *.i
+*.gcno
+*.gcda

Propchange: trunk/utils/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Jul 27 16:16:39 2010
@@ -29,3 +29,5 @@
 utils.c
 astcanary
 refcounter
+*.gcno
+*.gcda




More information about the asterisk-commits mailing list