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: skip test if binari


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: skip test if binaries are not in PATH
Date: Wed, 08 Feb 2017 06:04:16 +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 aca6003  skip test if binaries are not in PATH
aca6003 is described below

commit aca6003d42b51e46d0786613ff3bcddc3f5c51cc
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Feb 8 06:04:13 2017 +0100

    skip test if binaries are not in PATH
---
 src/exchange-lib/test_exchange_api.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/exchange-lib/test_exchange_api.c 
b/src/exchange-lib/test_exchange_api.c
index ee39c19..783bf51 100644
--- a/src/exchange-lib/test_exchange_api.c
+++ b/src/exchange-lib/test_exchange_api.c
@@ -3079,6 +3079,12 @@ main (int argc,
                                   "taler-exchange-keyup",
                                   "-c", "test_exchange_api.conf",
                                   NULL);
+  if (NULL == proc)
+  {
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+               "Failed to run `taler-exchange-keyup`, is your PATH 
correct?\n");
+    return 77;
+  }
   GNUNET_OS_process_wait (proc);
   GNUNET_OS_process_destroy (proc);
   proc = GNUNET_OS_start_process (GNUNET_NO,
@@ -3089,6 +3095,12 @@ main (int argc,
                                   "-c", "test_exchange_api.conf",
                                   "-r",
                                   NULL);
+  if (NULL == proc)
+  {
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+               "Failed to run `taler-exchange-dbinit`, is your PATH 
correct?\n");
+    return 77;
+  }
   if (GNUNET_SYSERR ==
       GNUNET_OS_process_wait_status (proc,
                                      &type,
@@ -3134,7 +3146,6 @@ main (int argc,
   result = GNUNET_SYSERR;
   sigpipe = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO, GNUNET_NO, GNUNET_NO);
   GNUNET_assert (NULL != sigpipe);
-  sleep (30);
   shc_chld = GNUNET_SIGNAL_handler_install (GNUNET_SIGCHLD,
                                             &sighandler_child_death);
   GNUNET_SCHEDULER_run (&run, NULL);

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



reply via email to

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