aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-12 22:25:59 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-12 22:25:59 +0100
commit45d621f5ff16c8c6a559f9e865704e8090885799 (patch)
treeda1fa1269f2202b6dbd68865a72b12941f7acbe2 /src/testing
parent2ad4cee183dde4d40171dc9222fa754bbf341cae (diff)
add -lgcov flag for coverage analysis
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/Makefile.am42
1 files changed, 28 insertions, 14 deletions
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am
index 09f563938..fc2f7f870 100644
--- a/src/testing/Makefile.am
+++ b/src/testing/Makefile.am
@@ -150,7 +150,8 @@ test_auditor_api_LDADD = \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetcurl \
-lgnunetutil \
- -ljansson
+ -ljansson \
+ $(XLIB)
test_auditor_api_version_SOURCES = \
test_auditor_api_version.c
@@ -161,7 +162,8 @@ test_auditor_api_version_LDADD = \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetcurl \
-lgnunetutil \
- -ljansson
+ -ljansson \
+ $(XLIB)
test_bank_api_with_nexus_SOURCES = \
test_bank_api.c
@@ -169,7 +171,8 @@ test_bank_api_with_nexus_LDADD = \
libtalertesting.la \
-ltalerexchange \
-lgnunetutil \
- $(top_builddir)/src/bank-lib/libtalerbank.la
+ $(top_builddir)/src/bank-lib/libtalerbank.la \
+ $(XLIB)
test_bank_api_with_fakebank_SOURCES = \
test_bank_api.c
@@ -177,7 +180,8 @@ test_bank_api_with_fakebank_LDADD = \
libtalertesting.la \
-ltalerexchange \
-lgnunetutil \
- $(top_builddir)/src/bank-lib/libtalerbank.la
+ $(top_builddir)/src/bank-lib/libtalerbank.la \
+ $(XLIB)
test_bank_api_with_pybank_SOURCES = \
test_bank_api.c
@@ -185,7 +189,8 @@ test_bank_api_with_pybank_LDADD = \
libtalertesting.la \
$(top_builddir)/src/lib/libtalerexchange.la \
-lgnunetutil \
- $(top_builddir)/src/bank-lib/libtalerbank.la
+ $(top_builddir)/src/bank-lib/libtalerbank.la \
+ $(XLIB)
test_exchange_api_SOURCES = \
test_exchange_api.c
@@ -199,7 +204,8 @@ test_exchange_api_LDADD = \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetcurl \
-lgnunetutil \
- -ljansson
+ -ljansson \
+ $(XLIB)
test_exchange_api_revocation_SOURCES = \
test_exchange_api_revocation.c
@@ -213,7 +219,8 @@ test_exchange_api_revocation_LDADD = \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetcurl \
-lgnunetutil \
- -ljansson
+ -ljansson \
+ $(XLIB)
test_exchange_api_keys_cherry_picking_SOURCES = \
test_exchange_api_keys_cherry_picking.c
@@ -226,7 +233,8 @@ test_exchange_api_keys_cherry_picking_LDADD = \
$(top_builddir)/src/bank-lib/libtalerbank.la \
-lgnunetcurl \
-lgnunetutil \
- -ljansson
+ -ljansson \
+ $(XLIB)
test_exchange_api_overlapping_keys_bug_SOURCES = \
test_exchange_api_overlapping_keys_bug.c
@@ -239,7 +247,8 @@ test_exchange_api_overlapping_keys_bug_LDADD = \
$(top_builddir)/src/bank-lib/libtalerbank.la \
-lgnunetcurl \
-lgnunetutil \
- -ljansson
+ -ljansson \
+ $(XLIB)
test_taler_exchange_aggregator_postgres_SOURCES = \
test_taler_exchange_aggregator.c
@@ -254,7 +263,8 @@ test_taler_exchange_aggregator_postgres_LDADD = \
-lgnunetutil \
-lgnunetjson \
-ljansson \
- -lpthread
+ -lpthread \
+ $(XLIB)
test_taler_exchange_wirewatch_postgres_SOURCES = \
test_taler_exchange_wirewatch.c
@@ -270,7 +280,8 @@ test_taler_exchange_wirewatch_postgres_LDADD = \
-lgnunetjson \
-lgnunetpq \
-ljansson \
- -lpthread
+ -lpthread \
+ $(XLIB)
test_exchange_api_twisted_SOURCES = \
test_exchange_api_twisted.c
@@ -286,7 +297,8 @@ test_exchange_api_twisted_LDADD = \
-lgnunetjson \
-lgnunetcurl \
-lgnunetutil \
- -ljansson
+ -ljansson \
+ $(XLIB)
test_bank_api_with_fakebank_twisted_SOURCES = \
test_bank_api_twisted.c
@@ -300,7 +312,8 @@ test_bank_api_with_fakebank_twisted_LDADD = \
-lgnunetjson \
-lgnunetcurl \
-lgnunetutil \
- -ljansson
+ -ljansson \
+ $(XLIB)
test_bank_api_with_pybank_twisted_SOURCES = \
test_bank_api_twisted.c
@@ -314,7 +327,8 @@ test_bank_api_with_pybank_twisted_LDADD = \
-lgnunetjson \
-lgnunetcurl \
-lgnunetutil \
- -ljansson
+ -ljansson \
+ $(XLIB)
# Distribution