[components][utest] utest 延时启动
在使用 utest 的线程模式的时候,utest_run 命令执行完成后,finsh 会输出 `msh >`,干扰了 utest 内部的日志结构,因此默认在 utest 启动前增加延时。 Signed-off-by: MurphyZhao <d2014zjt@163.com>
This commit is contained in:
parent
82f022f6f0
commit
0dc7b9a5a2
|
@ -120,6 +120,8 @@ static void utest_run(const char *utest_name)
|
||||||
{
|
{
|
||||||
rt_size_t i = 0;
|
rt_size_t i = 0;
|
||||||
|
|
||||||
|
rt_thread_mdelay(1000);
|
||||||
|
|
||||||
LOG_I("[==========] [ utest ] started");
|
LOG_I("[==========] [ utest ] started");
|
||||||
while(i < tc_num)
|
while(i < tc_num)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue