diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-10 22:29:43 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-10 22:29:43 +0200 |
commit | abb84bd06559928e9d3fd4585a7e7d31cdb91084 (patch) | |
tree | 95c1ff1a485da501bc26c8920cc16740e929a668 /src/include/taler_testing_lib.h | |
parent | e0935af764099a203a44b03a98ef0ec8ee17aeeb (diff) | |
download | exchange-abb84bd06559928e9d3fd4585a7e7d31cdb91084.tar.xz |
add variant that allows us to control the timeout
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 71bc8cdca..8e55c058c 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -420,6 +420,20 @@ TALER_TESTING_run (struct TALER_TESTING_Interpreter *is, struct TALER_TESTING_Command *commands); +/** + * Run the testsuite. Note, CMDs are copied into + * the interpreter state because they are _usually_ + * defined into the "run" method that returns after + * having scheduled the test interpreter. + * + * @param is the interpreter state + * @param commands the list of command to execute + * @param timeout how long to wait + */ +void +TALER_TESTING_run2 (struct TALER_TESTING_Interpreter *is, + struct TALER_TESTING_Command *commands, + struct GNUNET_TIME_Relative timeout); /** |