[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-donau] branch master updated: [testing] solve some linking issues
From: |
gnunet |
Subject: |
[taler-donau] branch master updated: [testing] solve some linking issues |
Date: |
Mon, 15 Jan 2024 11:59:57 +0100 |
This is an automated email from the git hooks/post-receive script.
lukas-matyja pushed a commit to branch master
in repository donau.
The following commit(s) were added to refs/heads/master by this push:
new 5048236 [testing] solve some linking issues
5048236 is described below
commit 5048236516c7c5008a02162213f16f6957fc5dab
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
AuthorDate: Mon Jan 15 12:00:49 2024 +0100
[testing] solve some linking issues
---
src/testing/Makefile.am | 6 +++++-
src/testing/test_donau_api.c | 3 ---
src/testing/testing_api_loop.c | 6 +++---
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am
index 1c14ec8..f01ecb6 100644
--- a/src/testing/Makefile.am
+++ b/src/testing/Makefile.am
@@ -21,7 +21,8 @@ libdonautesting_la_LDFLAGS = \
-no-undefined
libdonautesting_la_SOURCES = \
test_api_cmd_get_donau.c \
- testing_api_traits.c
+ testing_api_traits.c \
+ testing_api_loop.c
AM_TESTS_ENVIRONMENT=export DONAU_PREFIX=$${DONAU_PREFIX:-@libdir@};export
PATH=$${DONAU_PREFIX:-@prefix@}/bin:$$PATH;
@@ -43,6 +44,7 @@ test_donau_api_cs_LDADD = \
$(top_builddir)/src/lib/libdonau.la \
$(LIBGCRYPT_LIBS) \
$(top_builddir)/src/util/libdonauutil.la \
+ -ltalertesting \
-lgnunetcurl \
-lgnunetutil \
-ljansson \
@@ -57,9 +59,11 @@ test_donau_api_rsa_LDADD = \
$(LIBGCRYPT_LIBS) \
$(top_builddir)/src/json/libdonaujson.la \
$(top_builddir)/src/util/libdonauutil.la \
+ -ltalertesting \
-lgnunetcurl \
-lgnunetutil \
-ljansson \
+ -lgnunetjson \
$(XLIB)
EXTRA_DIST = \
diff --git a/src/testing/test_donau_api.c b/src/testing/test_donau_api.c
index 6c0855f..69f2ecf 100644
--- a/src/testing/test_donau_api.c
+++ b/src/testing/test_donau_api.c
@@ -26,13 +26,10 @@
*/
#include <taler/platform.h>
#include <taler/taler_util.h>
-#include <taler/taler_signatures.h>
-#include <taler/taler_exchange_service.h>
#include <taler/taler_json_lib.h>
#include <gnunet/gnunet_util_lib.h>
#include <gnunet/gnunet_testing_lib.h>
#include <microhttpd.h>
-#include <taler/taler_bank_service.h>
#include <taler/taler_testing_lib.h>
#include "donau_testing_lib.h"
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index 0c7e018..c60cffc 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -54,9 +54,9 @@ DONAU_TESTING_main (char *const *argv,
// GNUNET_break (0);
// return 77;
//}
- //if (GNUNET_OK !=
- // TALER_TESTING_cleanup_files_cfg (NULL,
- // cred->cfg))
+ if (GNUNET_OK !=
+ TALER_TESTING_cleanup_files_cfg (NULL,
+ cred->cfg))
{
GNUNET_break (0);
return 77;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-donau] branch master updated: [testing] solve some linking issues,
gnunet <=