diff options
Diffstat (limited to 'src/testing/testing_api_cmd_batch.c')
-rw-r--r-- | src/testing/testing_api_cmd_batch.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testing/testing_api_cmd_batch.c b/src/testing/testing_api_cmd_batch.c index fe7c19db2..ebb4e6d9a 100644 --- a/src/testing/testing_api_cmd_batch.c +++ b/src/testing/testing_api_cmd_batch.c @@ -70,7 +70,7 @@ batch_run (void *cls, TALER_TESTING_interpreter_next (is); return; } - + bs->batch[bs->batch_ip].start_time = GNUNET_TIME_absolute_get (); bs->batch[bs->batch_ip].run (bs->batch[bs->batch_ip].cls, &bs->batch[bs->batch_ip], is); @@ -193,10 +193,11 @@ TALER_TESTING_cmd_batch_next (struct TALER_TESTING_Interpreter *is) if (NULL == bs->batch[bs->batch_ip].label) { + is->commands[is->ip].finish_time = GNUNET_TIME_absolute_get (); is->ip++; return; } - + bs->batch[bs->batch_ip].finish_time = GNUNET_TIME_absolute_get (); bs->batch_ip++; } |