[components][utest] utest 延时启动

在使用 utest 的线程模式的时候,utest_run 命令执行完成后,finsh 会输出 `msh >`,干扰了 utest 内部的日志结构,因此默认在 utest 启动前增加延时。

Signed-off-by: MurphyZhao <d2014zjt@163.com>
This commit is contained in:
MurphyZhao 2019-02-14 12:00:58 +08:00
parent 82f022f6f0
commit 0dc7b9a5a2
1 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,8 @@ static void utest_run(const char *utest_name)
{
rt_size_t i = 0;
rt_thread_mdelay(1000);
LOG_I("[==========] [ utest ] started");
while(i < tc_num)
{