From cb6aab590b93e619fd5ca1fd18f3dd1fcefd5696 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 9 Sep 2019 16:46:01 +0200 Subject: Provide method to launch Fakebank withOUT running tests. --- src/include/taler_testing_bank_lib.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/include/taler_testing_bank_lib.h') diff --git a/src/include/taler_testing_bank_lib.h b/src/include/taler_testing_bank_lib.h index 9948a7f2d..f72b804cd 100644 --- a/src/include/taler_testing_bank_lib.h +++ b/src/include/taler_testing_bank_lib.h @@ -67,6 +67,17 @@ struct GNUNET_OS_Process * TALER_TESTING_run_bank (const char *config_filename, const char *bank_url); +/** + * Runs the Fakebank by guessing / extracting the portnumber + * from the base URL. + * + * @param bank_url bank's base URL. + * @return the fakebank process handle, or NULL if any + * error occurs. + */ +struct TALER_FAKEBANK_Handle * +TALER_TESTING_run_fakebank (const char *bank_url); + /** * Prepare the bank execution. Check if the port is available * and reset database. -- cgit v1.2.3