add tc_done()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2381 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
aa0d3695e1
commit
6773015c4a
|
@ -101,9 +101,9 @@ static void _tc_cleanup()
|
||||||
rt_thread_delete(worker);
|
rt_thread_delete(worker);
|
||||||
|
|
||||||
if (t1_count > t2_count)
|
if (t1_count > t2_count)
|
||||||
tc_stat(TC_STAT_FAILED);
|
tc_done(TC_STAT_FAILED);
|
||||||
else
|
else
|
||||||
tc_stat(TC_STAT_PASSED);
|
tc_done(TC_STAT_PASSED);
|
||||||
|
|
||||||
/* unlock scheduler */
|
/* unlock scheduler */
|
||||||
rt_exit_critical();
|
rt_exit_critical();
|
||||||
|
|
Loading…
Reference in New Issue