mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 19:52:48 +00:00
Changes 0ms to <1ms in cli END results during 'test execute'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@250478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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,
|
(test->state == AST_TEST_FAIL) ? COLOR_RED : COLOR_GREEN,
|
||||||
0,
|
0,
|
||||||
sizeof(result_buf));
|
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.category,
|
||||||
test->info.name,
|
test->info.name,
|
||||||
test->time,
|
test->time ? "" : "<",
|
||||||
|
test->time ? test->time : 1,
|
||||||
result_buf);
|
result_buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user