gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: add missing flags for coverage a


From: gnunet
Subject: [taler-merchant] branch master updated: add missing flags for coverage analysis
Date: Mon, 24 Feb 2020 13:49:33 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 39d9832  add missing flags for coverage analysis
39d9832 is described below

commit 39d9832e054849ed0ce36bd1d47411af4ea0b793
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Feb 24 13:49:30 2020 +0100

    add missing flags for coverage analysis
---
 src/backend/Makefile.am        |  8 +++++++-
 src/merchant-tools/Makefile.am | 11 +++++++++--
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/src/backend/Makefile.am b/src/backend/Makefile.am
index 4faaa1b..1f58345 100644
--- a/src/backend/Makefile.am
+++ b/src/backend/Makefile.am
@@ -1,6 +1,11 @@
 # This Makefile.am is in the public domain
 AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/backend-lib/
 
+if USE_COVERAGE
+  AM_CFLAGS = --coverage -O0
+  XLIB = -lgcov
+endif
+
 pkgcfgdir = $(prefix)/share/taler/config.d/
 
 pkgcfg_DATA = \
@@ -43,4 +48,5 @@ taler_merchant_httpd_LDADD = \
   -ljansson \
   -lgnunetcurl \
   -lgnunetjson \
-  -lgnunetutil
+  -lgnunetutil \
+  $(XLIB)
diff --git a/src/merchant-tools/Makefile.am b/src/merchant-tools/Makefile.am
index 87e430b..af51b88 100644
--- a/src/merchant-tools/Makefile.am
+++ b/src/merchant-tools/Makefile.am
@@ -1,6 +1,11 @@
 # This Makefile.am is in the public domain
 AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
+if USE_COVERAGE
+  AM_CFLAGS = --coverage -O0
+  XLIB = -lgcov
+endif
+
 bin_PROGRAMS = \
   taler-merchant-dbinit \
   taler-merchant-benchmark
@@ -13,7 +18,8 @@ taler_merchant_dbinit_LDADD = \
   $(top_builddir)/src/backenddb/libtalermerchantdb.la \
   -lgnunetutil \
   -ltalerutil \
-  -ltalerpq
+  -ltalerpq \
+  $(XLIB)
 
 taler_merchant_benchmark_SOURCES = \
   taler-merchant-benchmark.c
@@ -32,4 +38,5 @@ taler_merchant_benchmark_LDADD = \
   -lgnunetjson \
   -lgnunetcurl \
   -lgnunetutil \
-  -ljansson
+  -ljansson \
+  $(XLIB)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]