aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-09-09 23:23:15 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-09-09 23:47:00 +0200
commite6dc2ce6c65fe09fe1ff8640d76310335c75eb32 (patch)
treedeae9fb005855250fd64384bc5daf5ab52c0bb18
parent447d1d78ad88566577961fc9befc3d2c1888675c (diff)
downloadexchange-e6dc2ce6c65fe09fe1ff8640d76310335c75eb32.tar.gz
exchange-e6dc2ce6c65fe09fe1ff8640d76310335c75eb32.tar.bz2
exchange-e6dc2ce6c65fe09fe1ff8640d76310335c75eb32.zip
one source two binaries for testing.
-rw-r--r--src/bank-lib/Makefile.am12
-rw-r--r--src/bank-lib/test_bank_api_new2.c (renamed from src/bank-lib/test_bank_api_with_fakebank_new.c)0
2 files changed, 11 insertions, 1 deletions
diff --git a/src/bank-lib/Makefile.am b/src/bank-lib/Makefile.am
index 2678884bb..3b7690662 100644
--- a/src/bank-lib/Makefile.am
+++ b/src/bank-lib/Makefile.am
@@ -172,8 +172,18 @@ test_bank_api_with_fakebank_LDADD = \
-lgnunetutil \
-ljansson
+test_bank_api_new2_SOURCES = \
+ test_bank_api_new2.c
+
+test_bank_api_new2_LDADD = \
+ $(top_builddir)/src/lib/libtalertesting.la \
+ libtalerbanktesting.la \
+ -ltalerexchange \
+ -lgnunetutil \
+ libtalerbank.la
+
test_bank_api_with_fakebank_new_SOURCES = \
- test_bank_api_with_fakebank_new.c
+ test_bank_api_new2.c
test_bank_api_with_fakebank_new_LDADD = \
$(top_builddir)/src/lib/libtalertesting.la \
diff --git a/src/bank-lib/test_bank_api_with_fakebank_new.c b/src/bank-lib/test_bank_api_new2.c
index a2f776239..a2f776239 100644
--- a/src/bank-lib/test_bank_api_with_fakebank_new.c
+++ b/src/bank-lib/test_bank_api_new2.c