diff options
Diffstat (limited to 'main/test.c')
-rw-r--r-- | main/test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/test.c b/main/test.c index 4cf483b2b..fd5e5c728 100644 --- a/main/test.c +++ b/main/test.c @@ -291,10 +291,11 @@ static int test_execute_multiple(const char *name, const char *category, struct (test->state == AST_TEST_FAIL) ? COLOR_RED : COLOR_GREEN, 0, sizeof(result_buf)); - ast_cli(cli->fd, "END %s - %s Time: %dms Result: %s\n", + ast_cli(cli->fd, "END %s - %s Time: %s%dms Result: %s\n", test->info.category, test->info.name, - test->time, + test->time ? "" : "<", + test->time ? test->time : 1, result_buf); } } |