[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7866 - in GNUnet: . src/applications/advertising src/appli
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7866 - in GNUnet: . src/applications/advertising src/applications/bootstrap_http src/applications/chat src/applications/chat/lib src/applications/chat/module src/applications/chat/tools src/applications/datastore src/applications/dht/module src/applications/dht/tools src/applications/dstore_mysql src/applications/dstore_sqlite src/applications/fragmentation src/applications/fs src/applications/fs/collection src/applications/fs/ecrs src/applications/fs/fsui src/applications/fs/gap src/applications/fs/lib src/applications/fs/namespace src/applications/fs/tools src/applications/fs/uritrack src/applications/getoption src/applications/hostlist src/applications/identity src/applications/kvstore_sqlite src/applications/pingpong src/applications/rpc src/applications/session src/applications/sqstore_mysql src/applications/sqstore_sqlite src/applications/state src/applications/stats src/applications/tbench src/applications/template src/applications/testing src/applications/topology_default src/applications/tracekit src/applications/transport src/applications/vpn src/libs/mysql src/server src/transports src/transports/upnp src/util src/util/boot src/util/config src/util/containers src/util/cron src/util/crypto src/util/disk src/util/error src/util/getopt src/util/loggers src/util/network src/util/network_client src/util/os src/util/pseudonym src/util/string src/util/threads |
Date: |
Sun, 9 Nov 2008 00:02:48 -0700 (MST) |
Author: grothoff
Date: 2008-11-09 00:02:47 -0700 (Sun, 09 Nov 2008)
New Revision: 7866
Modified:
GNUnet/configure.ac
GNUnet/src/applications/advertising/Makefile.am
GNUnet/src/applications/bootstrap_http/Makefile.am
GNUnet/src/applications/chat/Makefile.am
GNUnet/src/applications/chat/lib/Makefile.am
GNUnet/src/applications/chat/module/Makefile.am
GNUnet/src/applications/chat/tools/Makefile.am
GNUnet/src/applications/datastore/Makefile.am
GNUnet/src/applications/dht/module/Makefile.am
GNUnet/src/applications/dht/tools/Makefile.am
GNUnet/src/applications/dstore_mysql/Makefile.am
GNUnet/src/applications/dstore_sqlite/Makefile.am
GNUnet/src/applications/fragmentation/Makefile.am
GNUnet/src/applications/fs/Makefile.am
GNUnet/src/applications/fs/collection/Makefile.am
GNUnet/src/applications/fs/ecrs/Makefile.am
GNUnet/src/applications/fs/fsui/Makefile.am
GNUnet/src/applications/fs/gap/Makefile.am
GNUnet/src/applications/fs/lib/Makefile.am
GNUnet/src/applications/fs/namespace/Makefile.am
GNUnet/src/applications/fs/tools/Makefile.am
GNUnet/src/applications/fs/uritrack/Makefile.am
GNUnet/src/applications/getoption/Makefile.am
GNUnet/src/applications/hostlist/Makefile.am
GNUnet/src/applications/identity/Makefile.am
GNUnet/src/applications/kvstore_sqlite/Makefile.am
GNUnet/src/applications/pingpong/Makefile.am
GNUnet/src/applications/rpc/Makefile.am
GNUnet/src/applications/session/Makefile.am
GNUnet/src/applications/sqstore_mysql/Makefile.am
GNUnet/src/applications/sqstore_sqlite/Makefile.am
GNUnet/src/applications/state/Makefile.am
GNUnet/src/applications/stats/Makefile.am
GNUnet/src/applications/tbench/Makefile.am
GNUnet/src/applications/template/Makefile.am
GNUnet/src/applications/testing/Makefile.am
GNUnet/src/applications/topology_default/Makefile.am
GNUnet/src/applications/tracekit/Makefile.am
GNUnet/src/applications/transport/Makefile.am
GNUnet/src/applications/vpn/Makefile.am
GNUnet/src/libs/mysql/Makefile.am
GNUnet/src/server/Makefile.am
GNUnet/src/transports/Makefile.am
GNUnet/src/transports/upnp/Makefile.am
GNUnet/src/util/Makefile.am
GNUnet/src/util/boot/Makefile.am
GNUnet/src/util/config/Makefile.am
GNUnet/src/util/containers/Makefile.am
GNUnet/src/util/cron/Makefile.am
GNUnet/src/util/crypto/Makefile.am
GNUnet/src/util/disk/Makefile.am
GNUnet/src/util/error/Makefile.am
GNUnet/src/util/getopt/Makefile.am
GNUnet/src/util/loggers/Makefile.am
GNUnet/src/util/network/Makefile.am
GNUnet/src/util/network_client/Makefile.am
GNUnet/src/util/os/Makefile.am
GNUnet/src/util/pseudonym/Makefile.am
GNUnet/src/util/string/Makefile.am
GNUnet/src/util/threads/Makefile.am
Log:
adding code for coverage tests
Modified: GNUnet/configure.ac
===================================================================
--- GNUnet/configure.ac 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/configure.ac 2008-11-09 07:02:47 UTC (rev 7866)
@@ -904,6 +904,17 @@
AC_SUBST(DLLDIR)
AC_SUBST(EXT_LIB_PATH)
+
+# gcov compilation
+use_gcov=no
+AC_ARG_ENABLE([coverage], AS_HELP_STRING([--enable-coverage],
+ [Compile the library with code
coverage support (default is NO)]),
+ [use_gcov=yes], [use_gcov=no])
+AM_CONDITIONAL([USE_COVERAGE], [test "x$use_gcov" = "xyes"])
+
+
+
+
AC_CONFIG_FILES([ po/Makefile.in m4/Makefile
Makefile
contrib/Makefile
Modified: GNUnet/src/applications/advertising/Makefile.am
===================================================================
--- GNUnet/src/applications/advertising/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/advertising/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -5,6 +5,10 @@
plugin_LTLIBRARIES = \
libgnunetmodule_advertising.la
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
libgnunetmodule_advertising_la_SOURCES = \
advertising.c \
bootstrap.c \
Modified: GNUnet/src/applications/bootstrap_http/Makefile.am
===================================================================
--- GNUnet/src/applications/bootstrap_http/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/bootstrap_http/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -5,6 +5,10 @@
plugin_LTLIBRARIES = \
libgnunetmodule_bootstrap.la
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
libgnunetmodule_bootstrap_la_SOURCES = \
http.c
libgnunetmodule_bootstrap_la_LIBADD = @LIBCURL@ \
Modified: GNUnet/src/applications/chat/Makefile.am
===================================================================
--- GNUnet/src/applications/chat/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/chat/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1 +1,2 @@
SUBDIRS = module lib tools .
+
Modified: GNUnet/src/applications/chat/lib/Makefile.am
===================================================================
--- GNUnet/src/applications/chat/lib/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/chat/lib/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
lib_LTLIBRARIES = \
libgnunetchat_api.la
Modified: GNUnet/src/applications/chat/module/Makefile.am
===================================================================
--- GNUnet/src/applications/chat/module/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/chat/module/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -3,6 +3,10 @@
LDADD = \
$(top_builddir)/src/util/libgnunetutil.la
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
plugindir = $(libdir)/GNUnet
plugin_LTLIBRARIES = \
Modified: GNUnet/src/applications/chat/tools/Makefile.am
===================================================================
--- GNUnet/src/applications/chat/tools/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/chat/tools/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
LDADD = \
$(top_builddir)/src/util/libgnunetutil.la
Modified: GNUnet/src/applications/datastore/Makefile.am
===================================================================
--- GNUnet/src/applications/datastore/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/datastore/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
plugindir = $(libdir)/GNUnet
plugin_LTLIBRARIES = \
Modified: GNUnet/src/applications/dht/module/Makefile.am
===================================================================
--- GNUnet/src/applications/dht/module/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/dht/module/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
plugindir = $(libdir)/GNUnet
plugin_LTLIBRARIES = \
Modified: GNUnet/src/applications/dht/tools/Makefile.am
===================================================================
--- GNUnet/src/applications/dht/tools/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/dht/tools/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
lib_LTLIBRARIES = \
libgnunetdht_api.la
Modified: GNUnet/src/applications/dstore_mysql/Makefile.am
===================================================================
--- GNUnet/src/applications/dstore_mysql/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/dstore_mysql/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -2,6 +2,10 @@
plugindir = $(libdir)/GNUnet
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
LDADD = \
$(top_builddir)/src/util/libgnunetutil.la
Modified: GNUnet/src/applications/dstore_sqlite/Makefile.am
===================================================================
--- GNUnet/src/applications/dstore_sqlite/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/dstore_sqlite/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -2,6 +2,10 @@
plugindir = $(libdir)/GNUnet
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
LDADD = \
$(top_builddir)/src/util/libgnunetutil.la
Modified: GNUnet/src/applications/fragmentation/Makefile.am
===================================================================
--- GNUnet/src/applications/fragmentation/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/fragmentation/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
plugindir = $(libdir)/GNUnet
plugin_LTLIBRARIES = \
@@ -12,11 +16,6 @@
libgnunetmodule_fragmentation_la_LDFLAGS = \
-export-dynamic -avoid-version -module
-
-################################
-# TESTCASES
-################################
-
EXTRA_DIST = check.conf
check_PROGRAMS = \
Modified: GNUnet/src/applications/fs/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/fs/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,6 +1,11 @@
SUBDIRS = \
. gap lib ecrs uritrack namespace fsui collection tools
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
INCLUDES = -I$(top_srcdir)/src/include
lib_LTLIBRARIES = \
Modified: GNUnet/src/applications/fs/collection/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/collection/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/fs/collection/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,10 @@
INCLUDES = -I$(top_srcdir)/src/include
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
lib_LTLIBRARIES = \
libgnunetcollection.la
Modified: GNUnet/src/applications/fs/ecrs/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/ecrs/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/fs/ecrs/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,5 +1,10 @@
INCLUDES = -I$(top_srcdir)/src/include
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
lib_LTLIBRARIES = \
libgnunetecrs.la
Modified: GNUnet/src/applications/fs/fsui/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/fsui/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/fs/fsui/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,5 +1,10 @@
INCLUDES = -I$(top_srcdir)/src/include
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
lib_LTLIBRARIES = \
libgnunetfsui.la
Modified: GNUnet/src/applications/fs/gap/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/gap/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/fs/gap/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,5 +1,10 @@
INCLUDES = -I$(top_srcdir)/src/include
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
plugindir = $(libdir)/GNUnet
plugin_LTLIBRARIES = \
Modified: GNUnet/src/applications/fs/lib/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/lib/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/fs/lib/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,5 +1,10 @@
INCLUDES = -I$(top_srcdir)/src/include
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
lib_LTLIBRARIES = \
libgnunetfs.la
Modified: GNUnet/src/applications/fs/namespace/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/namespace/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/fs/namespace/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,10 @@
INCLUDES = -I$(top_srcdir)/src/include
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
lib_LTLIBRARIES = \
libgnunetnamespace.la
Modified: GNUnet/src/applications/fs/tools/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/tools/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/fs/tools/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
LDADD = \
$(top_builddir)/src/applications/fs/uritrack/libgnuneturitrack.la \
$(top_builddir)/src/applications/fs/fsui/libgnunetfsui.la \
Modified: GNUnet/src/applications/fs/uritrack/Makefile.am
===================================================================
--- GNUnet/src/applications/fs/uritrack/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/fs/uritrack/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
lib_LTLIBRARIES = \
libgnuneturitrack.la
Modified: GNUnet/src/applications/getoption/Makefile.am
===================================================================
--- GNUnet/src/applications/getoption/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/getoption/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
lib_LTLIBRARIES = \
Modified: GNUnet/src/applications/hostlist/Makefile.am
===================================================================
--- GNUnet/src/applications/hostlist/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/hostlist/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
LDADD = \
Modified: GNUnet/src/applications/identity/Makefile.am
===================================================================
--- GNUnet/src/applications/identity/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/identity/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
+
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
lib_LTLIBRARIES = \
Modified: GNUnet/src/applications/kvstore_sqlite/Makefile.am
===================================================================
--- GNUnet/src/applications/kvstore_sqlite/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/kvstore_sqlite/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
LDADD = \
Modified: GNUnet/src/applications/pingpong/Makefile.am
===================================================================
--- GNUnet/src/applications/pingpong/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/pingpong/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
plugin_LTLIBRARIES = \
Modified: GNUnet/src/applications/rpc/Makefile.am
===================================================================
--- GNUnet/src/applications/rpc/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/rpc/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
lib_LTLIBRARIES = \
Modified: GNUnet/src/applications/session/Makefile.am
===================================================================
--- GNUnet/src/applications/session/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/session/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
plugin_LTLIBRARIES = \
Modified: GNUnet/src/applications/sqstore_mysql/Makefile.am
===================================================================
--- GNUnet/src/applications/sqstore_mysql/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/sqstore_mysql/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
LDADD = \
Modified: GNUnet/src/applications/sqstore_sqlite/Makefile.am
===================================================================
--- GNUnet/src/applications/sqstore_sqlite/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/sqstore_sqlite/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
LDADD = \
Modified: GNUnet/src/applications/state/Makefile.am
===================================================================
--- GNUnet/src/applications/state/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/state/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
plugin_LTLIBRARIES = \
Modified: GNUnet/src/applications/stats/Makefile.am
===================================================================
--- GNUnet/src/applications/stats/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/stats/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
LDADD = \
$(top_builddir)/src/util/libgnunetutil.la
Modified: GNUnet/src/applications/tbench/Makefile.am
===================================================================
--- GNUnet/src/applications/tbench/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/tbench/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
LDADD = \
Modified: GNUnet/src/applications/template/Makefile.am
===================================================================
--- GNUnet/src/applications/template/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/template/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,5 +1,8 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
LDADD = \
Modified: GNUnet/src/applications/testing/Makefile.am
===================================================================
--- GNUnet/src/applications/testing/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/testing/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,6 +1,8 @@
-#
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
plugindir = $(libdir)/GNUnet
lib_LTLIBRARIES = \
Modified: GNUnet/src/applications/topology_default/Makefile.am
===================================================================
--- GNUnet/src/applications/topology_default/Makefile.am 2008-11-09
04:20:20 UTC (rev 7865)
+++ GNUnet/src/applications/topology_default/Makefile.am 2008-11-09
07:02:47 UTC (rev 7866)
@@ -1,3 +1,6 @@
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
INCLUDES = -I$(top_srcdir)/src/include
plugindir = $(libdir)/GNUnet
Modified: GNUnet/src/applications/tracekit/Makefile.am
===================================================================
--- GNUnet/src/applications/tracekit/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/tracekit/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,3 +1,6 @@
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
INCLUDES = -I$(top_srcdir)/src/include
plugindir = $(libdir)/GNUnet
Modified: GNUnet/src/applications/transport/Makefile.am
===================================================================
--- GNUnet/src/applications/transport/Makefile.am 2008-11-09 04:20:20 UTC
(rev 7865)
+++ GNUnet/src/applications/transport/Makefile.am 2008-11-09 07:02:47 UTC
(rev 7866)
@@ -1,3 +1,6 @@
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
INCLUDES = -I$(top_srcdir)/src/include
plugindir = $(libdir)/GNUnet
Modified: GNUnet/src/applications/vpn/Makefile.am
===================================================================
--- GNUnet/src/applications/vpn/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/applications/vpn/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -1,3 +1,6 @@
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
INCLUDES = -I$(top_srcdir)/src/include
plugindir = $(libdir)/GNUnet
Modified: GNUnet/src/libs/mysql/Makefile.am
===================================================================
--- GNUnet/src/libs/mysql/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/libs/mysql/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -1,6 +1,10 @@
SUBDIRS = .
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
AM_CPPFLAGS = $(CPPFLAGS) $(MYSQL_CPPFLAGS)
if HAVE_ZLIB
Modified: GNUnet/src/server/Makefile.am
===================================================================
--- GNUnet/src/server/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/server/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -9,7 +9,11 @@
gnunet-transport-check \
gnunet-update
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
libgnunetcore_la_SOURCES = \
connection.c connection.h \
core.c \
Modified: GNUnet/src/transports/Makefile.am
===================================================================
--- GNUnet/src/transports/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/transports/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -2,6 +2,10 @@
EXTRA_DIST = common.c common.h test.conf
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
plugindir = $(libdir)/GNUnet
if HAVE_XML2
Modified: GNUnet/src/transports/upnp/Makefile.am
===================================================================
--- GNUnet/src/transports/upnp/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/transports/upnp/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -2,6 +2,10 @@
AM_CFLAGS = $(GTK_CFLAGS)
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
plugindir = $(libdir)/GNUnet
LIBS = @LIBINTL@ @LIBS@
Modified: GNUnet/src/util/Makefile.am
===================================================================
--- GNUnet/src/util/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -53,6 +53,10 @@
CYGLIBADD = $(top_builddir)/src/util/win/libwin.la
endif
+if USE_COVERAGE
+ AM_CFLAGS += -fprofile-arcs -ftest-coverage
+endif
+
lib_LTLIBRARIES = libgnunetutil.la
libgnunetutil_la_LIBADD = $(GCLIBADD) $(CYGLIBADD) $(WINLIBADD) \
Modified: GNUnet/src/util/boot/Makefile.am
===================================================================
--- GNUnet/src/util/boot/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/boot/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -2,6 +2,10 @@
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
noinst_LTLIBRARIES = \
libboot.la
Modified: GNUnet/src/util/config/Makefile.am
===================================================================
--- GNUnet/src/util/config/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/config/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -2,6 +2,10 @@
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
noinst_LTLIBRARIES = \
libconfig.la
Modified: GNUnet/src/util/containers/Makefile.am
===================================================================
--- GNUnet/src/util/containers/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/util/containers/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -2,6 +2,10 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
noinst_LTLIBRARIES = libcontainers.la
libcontainers_la_SOURCES = \
Modified: GNUnet/src/util/cron/Makefile.am
===================================================================
--- GNUnet/src/util/cron/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/cron/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -2,6 +2,10 @@
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
noinst_LTLIBRARIES = \
libcron.la
Modified: GNUnet/src/util/crypto/Makefile.am
===================================================================
--- GNUnet/src/util/crypto/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/crypto/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -2,6 +2,10 @@
INCLUDES = -I$(top_srcdir)/src/include
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
noinst_LTLIBRARIES = libcrypto.la
AM_CPPFLAGS = $(LIBGCRYPT_CFLAGS) -O3
Modified: GNUnet/src/util/disk/Makefile.am
===================================================================
--- GNUnet/src/util/disk/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/disk/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -2,6 +2,10 @@
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
noinst_LTLIBRARIES = \
libdisk.la
Modified: GNUnet/src/util/error/Makefile.am
===================================================================
--- GNUnet/src/util/error/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/error/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -2,6 +2,10 @@
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
+
noinst_LTLIBRARIES = \
liberror.la
Modified: GNUnet/src/util/getopt/Makefile.am
===================================================================
--- GNUnet/src/util/getopt/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/getopt/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -1,6 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
noinst_LTLIBRARIES = \
libgetopt.la
Modified: GNUnet/src/util/loggers/Makefile.am
===================================================================
--- GNUnet/src/util/loggers/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/loggers/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -1,6 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
noinst_LTLIBRARIES = \
libloggers.la
Modified: GNUnet/src/util/network/Makefile.am
===================================================================
--- GNUnet/src/util/network/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/network/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -4,6 +4,9 @@
noinst_LTLIBRARIES = \
libnetwork.la
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
if HAVE_C_ARES
AR_LINK=-lcares
Modified: GNUnet/src/util/network_client/Makefile.am
===================================================================
--- GNUnet/src/util/network_client/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/util/network_client/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -2,6 +2,9 @@
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
noinst_LTLIBRARIES = \
libnetwork_client.la
Modified: GNUnet/src/util/os/Makefile.am
===================================================================
--- GNUnet/src/util/os/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/os/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -1,6 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
EXTRA_DIST = check.conf
Modified: GNUnet/src/util/pseudonym/Makefile.am
===================================================================
--- GNUnet/src/util/pseudonym/Makefile.am 2008-11-09 04:20:20 UTC (rev
7865)
+++ GNUnet/src/util/pseudonym/Makefile.am 2008-11-09 07:02:47 UTC (rev
7866)
@@ -2,6 +2,9 @@
noinst_LTLIBRARIES = \
libpseudonym.la
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
libpseudonym_la_SOURCES = \
common.c common.h \
Modified: GNUnet/src/util/string/Makefile.am
===================================================================
--- GNUnet/src/util/string/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/string/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -1,6 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
noinst_LTLIBRARIES = \
libstring.la
Modified: GNUnet/src/util/threads/Makefile.am
===================================================================
--- GNUnet/src/util/threads/Makefile.am 2008-11-09 04:20:20 UTC (rev 7865)
+++ GNUnet/src/util/threads/Makefile.am 2008-11-09 07:02:47 UTC (rev 7866)
@@ -1,6 +1,9 @@
INCLUDES = -I$(top_srcdir)/src/include
SUBDIRS = .
+if USE_COVERAGE
+ AM_CFLAGS = -fprofile-arcs -ftest-coverage
+endif
EXTRA_DIST = timertimer.c
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7866 - in GNUnet: . src/applications/advertising src/applications/bootstrap_http src/applications/chat src/applications/chat/lib src/applications/chat/module src/applications/chat/tools src/applications/datastore src/applications/dht/module src/applications/dht/tools src/applications/dstore_mysql src/applications/dstore_sqlite src/applications/fragmentation src/applications/fs src/applications/fs/collection src/applications/fs/ecrs src/applications/fs/fsui src/applications/fs/gap src/applications/fs/lib src/applications/fs/namespace src/applications/fs/tools src/applications/fs/uritrack src/applications/getoption src/applications/hostlist src/applications/identity src/applications/kvstore_sqlite src/applications/pingpong src/applications/rpc src/applications/session src/applications/sqstore_mysql src/applications/sqstore_sqlite src/applications/state src/applications/stats src/applications/tbench src/applications/template src/applications/testing src/applications/topology_default src/applications/tracekit src/applications/transport src/applications/vpn src/libs/mysql src/server src/transports src/transports/upnp src/util src/util/boot src/util/config src/util/containers src/util/cron src/util/crypto src/util/disk src/util/error src/util/getopt src/util/loggers src/util/network src/util/network_client src/util/os src/util/pseudonym src/util/string src/util/threads,
gnunet <=