TC: always print the test result despite the wait time
This commit is contained in:
parent
a7c4d07fb7
commit
b66c5ee074
|
@ -50,11 +50,6 @@ void tc_thread_entry(void* parameter)
|
||||||
_tc_cleanup();
|
_tc_cleanup();
|
||||||
_tc_cleanup = RT_NULL;
|
_tc_cleanup = RT_NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_tc_stat & TC_STAT_FAILED)
|
|
||||||
rt_kprintf("TestCase[%s] failed\n", _tc_current);
|
|
||||||
else
|
|
||||||
rt_kprintf("TestCase[%s] passed\n", _tc_current);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -65,6 +60,11 @@ void tc_thread_entry(void* parameter)
|
||||||
_tc_cleanup = RT_NULL;
|
_tc_cleanup = RT_NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_tc_stat & TC_STAT_FAILED)
|
||||||
|
rt_kprintf("TestCase[%s] failed\n", _tc_current);
|
||||||
|
else
|
||||||
|
rt_kprintf("TestCase[%s] passed\n", _tc_current);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue