提交 0dc7b9a5 编写于 作者: M MurphyZhao

[components][utest] utest 延时启动

在使用 utest 的线程模式的时候,utest_run 命令执行完成后,finsh 会输出 `msh >`,干扰了 utest 内部的日志结构,因此默认在 utest 启动前增加延时。
Signed-off-by: NMurphyZhao <d2014zjt@163.com>
上级 82f022f6
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册