gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated: fix "twisted" test-


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: fix "twisted" test-suites.
Date: Wed, 05 Sep 2018 21:56:02 +0200

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

marcello pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 2cbe471d fix "twisted" test-suites.
2cbe471d is described below

commit 2cbe471d5e836092089d5108730de5f14a2adf37
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Sep 5 21:55:40 2018 +0200

    fix "twisted" test-suites.
---
 src/bank-lib/Makefile.am                           | 17 ++++++-----------
 src/bank-lib/test_bank_api.c                       | 22 +++++++++++++---------
 src/bank-lib/test_bank_api_twisted.c               |  4 +++-
 src/bank-lib/test_bank_api_with_fakebank_twisted.c |  5 ++++-
 4 files changed, 26 insertions(+), 22 deletions(-)

diff --git a/src/bank-lib/Makefile.am b/src/bank-lib/Makefile.am
index eae120cb..084614b6 100644
--- a/src/bank-lib/Makefile.am
+++ b/src/bank-lib/Makefile.am
@@ -97,14 +97,12 @@ check_PROGRAMS += \
 test_bank_api_with_fakebank_twisted_SOURCES = \
   test_bank_api_with_fakebank_twisted.c
 test_bank_api_with_fakebank_twisted_LDADD = \
-  $(LIBGCRYPT_LIBS) \
   $(top_builddir)/src/exchange-lib/libtalertesting.la \
-  $(top_builddir)/src/bank-lib/libtalerbank.la \
-  $(top_builddir)/src/bank-lib/libtalertesting.la \
-  $(top_builddir)/src/bank-lib/libtalerfakebank.la \
+  libtalerbank.la \
+  libtalerbanktesting.la \
+  libtalerfakebank.la \
   $(top_builddir)/src/exchange-lib/libtalerexchange.la \
   $(top_builddir)/src/json/libtalerjson.la \
-  $(top_builddir)/src/util/libtalerutil.la \
   -ltalertwistertesting \
   -lgnunetjson \
   -lgnunetcurl \
@@ -115,21 +113,18 @@ endif
 test_bank_api_twisted_SOURCES = \
   test_bank_api_twisted.c
 test_bank_api_twisted_LDADD = \
-  $(LIBGCRYPT_LIBS) \
   $(top_builddir)/src/exchange-lib/libtalertesting.la \
-  $(top_builddir)/src/bank-lib/libtalerbank.la \
-  $(top_builddir)/src/bank-lib/libtalertesting.la \
-  $(top_builddir)/src/bank-lib/libtalerfakebank.la \
+  libtalerbank.la \
+  libtalerbanktesting.la \
+  libtalerfakebank.la \
   $(top_builddir)/src/exchange-lib/libtalerexchange.la \
   $(top_builddir)/src/json/libtalerjson.la \
-  $(top_builddir)/src/util/libtalerutil.la \
   -ltalertwistertesting \
   -lgnunetjson \
   -lgnunetcurl \
   -lgnunetutil \
   -ljansson
 
-
 TESTS = \
   $(check_PROGRAMS)
 
diff --git a/src/bank-lib/test_bank_api.c b/src/bank-lib/test_bank_api.c
index 2a117191..f356b0a8 100644
--- a/src/bank-lib/test_bank_api.c
+++ b/src/bank-lib/test_bank_api.c
@@ -2,20 +2,24 @@
   This file is part of TALER
   Copyright (C) 2016, 2017 GNUnet e.V.
 
-  TALER is free software; you can redistribute it and/or modify it under the
-  terms of the GNU General Public License as published by the Free Software
-  Foundation; either version 3, or (at your option) any later version.
+  TALER is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as
+  published by the Free Software Foundation; either version 3,
+  or (at your option) any later version.
 
-  TALER is distributed in the hope that it will be useful, but WITHOUT ANY
-  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-  A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+  TALER is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty
+  of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
+  the GNU General Public License for more details.
 
-  You should have received a copy of the GNU General Public License along with
-  TALER; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
+  You should have received a copy of the GNU General Public
+  License along with TALER; see the file COPYING.  If not, see
+  <http://www.gnu.org/licenses/>
 */
 /**
  * @file bank/test_bank_api.c
- * @brief testcase to test bank's HTTP API interface against the "real" bank
+ * @brief testcase to test bank's HTTP API interface
+ * against the "real" bank
  * @author Christian Grothoff
  */
 #include "platform.h"
diff --git a/src/bank-lib/test_bank_api_twisted.c 
b/src/bank-lib/test_bank_api_twisted.c
index 55064b25..f90b0572 100644
--- a/src/bank-lib/test_bank_api_twisted.c
+++ b/src/bank-lib/test_bank_api_twisted.c
@@ -121,6 +121,7 @@ main (int argc,
   /* These environment variables get in the way... */
   unsetenv ("XDG_DATA_HOME");
   unsetenv ("XDG_CONFIG_HOME");
+
   GNUNET_log_setup ("test-bank-api-twisted",
                     "DEBUG", NULL);
 
@@ -142,7 +143,8 @@ main (int argc,
   ret = TALER_TESTING_setup (&run,
                              NULL,
                              CONFIG_FILE,
-                             NULL);
+                             NULL,
+                             GNUNET_NO);
   purge_process (twisterd);
   purge_process (bankd);
   GNUNET_free (twister_url);
diff --git a/src/bank-lib/test_bank_api_with_fakebank_twisted.c 
b/src/bank-lib/test_bank_api_with_fakebank_twisted.c
index 4e491102..88e9bc3b 100644
--- a/src/bank-lib/test_bank_api_with_fakebank_twisted.c
+++ b/src/bank-lib/test_bank_api_with_fakebank_twisted.c
@@ -114,9 +114,11 @@ main (int argc,
       char * const *argv)
 {
   unsigned int ret;
+
   /* These environment variables get in the way... */
   unsetenv ("XDG_DATA_HOME");
   unsetenv ("XDG_CONFIG_HOME");
+
   GNUNET_log_setup ("test-bank-api-twisted",
                     "DEBUG", NULL);
 
@@ -135,7 +137,8 @@ main (int argc,
   ret = TALER_TESTING_setup (&run,
                              NULL,
                              CONFIG_FILE,
-                             NULL);
+                             NULL,
+                             GNUNET_NO);
   purge_process (twisterd);
   GNUNET_free (twister_url);
   GNUNET_free (fakebank_url);

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



reply via email to

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