From 96e047b186245ab8f0883bb0e0fe9dfaff3ef407 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 19 Aug 2018 00:49:16 +0200 Subject: add remote benchmarking --- src/include/taler_testing_lib.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 8db59ee45..0db27d0e6 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -464,6 +464,7 @@ typedef void (*TALER_TESTING_Main)(void *cls, struct TALER_TESTING_Interpreter *is); + /** * Install signal handlers plus schedules the main wrapper * around the "run" method. @@ -473,16 +474,22 @@ typedef void * @param main_cb_cls a closure for "run", typically NULL. * @param config_filename configuration filename. * @param exchanged exchange process handle: will be put in the - * state as some commands - e.g. revoke - need to signal it, - * for example to let it know to reload the key state. - * - * @return FIXME: not sure what 'is.result' is at this stage. + * state as some commands - e.g. revoke - need to send + * signal to it, for example to let it know to reload the + * key state.. if NULL, the interpreter will run without + * trying to connect to the exchange first. + * @param exchange_connect GNUNET_YES if the test should connect + * to the exchange, GNUNET_NO otherwise + * @return #GNUNET_OK if all is okay, != #GNUNET_OK otherwise. + * non-GNUNET_OK codes are #GNUNET_SYSERR most of the + * times. */ int TALER_TESTING_setup (TALER_TESTING_Main main_cb, void *main_cb_cls, const char *config_filename, - struct GNUNET_OS_Process *exchanged); + struct GNUNET_OS_Process *exchanged, + int exchange_connect); /** -- cgit v1.2.3