summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-10 22:29:43 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-10 22:29:43 +0200
commitabb84bd06559928e9d3fd4585a7e7d31cdb91084 (patch)
tree95c1ff1a485da501bc26c8920cc16740e929a668 /src/include
parente0935af764099a203a44b03a98ef0ec8ee17aeeb (diff)
downloadexchange-abb84bd06559928e9d3fd4585a7e7d31cdb91084.tar.gz
exchange-abb84bd06559928e9d3fd4585a7e7d31cdb91084.tar.bz2
exchange-abb84bd06559928e9d3fd4585a7e7d31cdb91084.zip
add variant that allows us to control the timeout
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_testing_lib.h14
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);
/**