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: use CONFIG_FILE mac


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: use CONFIG_FILE macro
Date: Sun, 21 Jan 2018 19:25:18 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 8013c4b  use CONFIG_FILE macro
8013c4b is described below

commit 8013c4b66a1926a9f49673a125f9822bf40dbd94
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Jan 21 19:25:12 2018 +0100

    use CONFIG_FILE macro
---
 src/exchange-lib/test_exchange_api_new.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/exchange-lib/test_exchange_api_new.c 
b/src/exchange-lib/test_exchange_api_new.c
index 2bbbe0c..49934fc 100644
--- a/src/exchange-lib/test_exchange_api_new.c
+++ b/src/exchange-lib/test_exchange_api_new.c
@@ -82,6 +82,10 @@ do_shutdown (void *cls)
   }
 }
 
+#define CONFIG_FILE "test_exchange_api.conf"
+
+#define RUN_WIREWATCH(label) TALER_TESTING_cmd_exec_wirewatch (label, 
CONFIG_FILE)
+
 
 /**
  * Main function that will tell the interpreter what to do.
@@ -99,8 +103,7 @@ run (void *cls,
                                          EXCHANGE_ACCOUNT_NO,
                                          "user42",
                                          "pass42"),
-    TALER_TESTING_cmd_exec_wirewatch ("exec-wirewatch",
-                                      "test_exchange_api.conf"),
+    RUN_WIREWATCH ("exec-wirewatch-1"),
     TALER_TESTING_cmd_end ()
   };
 
@@ -129,8 +132,8 @@ main (int argc,
   GNUNET_log_setup ("test-exchange-api-new",
                     "INFO",
                     NULL);
-  TALER_TESTING_cleanup_files ("test_exchange_api.conf");
-  result = TALER_TESTING_prepare_exchange ("test_exchange_api.conf");
+  TALER_TESTING_cleanup_files (CONFIG_FILE);
+  result = TALER_TESTING_prepare_exchange (CONFIG_FILE);
   if (GNUNET_SYSERR == result)
     return 1;
   if (GNUNET_NO == result)
@@ -152,7 +155,7 @@ main (int argc,
                                        NULL, NULL, NULL,
                                        "taler-exchange-httpd",
                                        "taler-exchange-httpd",
-                                       "-c", "test_exchange_api.conf",
+                                       "-c", CONFIG_FILE,
                                        "-i",
                                        NULL);
   /* give child time to start and bind against the socket */

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



reply via email to

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