diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-19 17:56:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-19 17:56:23 +0100 |
commit | 15489275ba72905a6f0d84238480569390475c00 (patch) | |
tree | 650da93c443fb1d22151a4f7be0bbaab25d704d2 /src/include/taler_testing_lib.h | |
parent | fd29d1866f2ec72b9e334da430e1b789f4677066 (diff) |
make DB reset optional in API, use it in tests, but not in the benchmark
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 62f0b95c7..b91057973 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -118,12 +118,14 @@ struct TALER_TESTING_DatabaseConnection * launch the exchange process itself. * * @param config_filename configuration file to use + * @param reset_db should we reset the database * @param[out] ec will be set to the exchange configuration data * @return #GNUNET_OK on success, #GNUNET_NO if test should be * skipped, #GNUNET_SYSERR on test failure */ int TALER_TESTING_prepare_exchange (const char *config_filename, + int reset_db, struct TALER_TESTING_ExchangeConfiguration *ec); |