From e6dc2ce6c65fe09fe1ff8640d76310335c75eb32 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 9 Sep 2019 23:23:15 +0200 Subject: [PATCH] one source two binaries for testing. --- src/bank-lib/Makefile.am | 12 +++++++++++- ..._api_with_fakebank_new.c => test_bank_api_new2.c} | 0 2 files changed, 11 insertions(+), 1 deletion(-) rename src/bank-lib/{test_bank_api_with_fakebank_new.c => test_bank_api_new2.c} (100%) 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 similarity index 100% rename from src/bank-lib/test_bank_api_with_fakebank_new.c rename to src/bank-lib/test_bank_api_new2.c