mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 13:03:31 +08:00
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);
|
||||
|
||||
if (t1_count > t2_count)
|
||||
tc_stat(TC_STAT_FAILED);
|
||||
tc_done(TC_STAT_FAILED);
|
||||
else
|
||||
tc_stat(TC_STAT_PASSED);
|
||||
tc_done(TC_STAT_PASSED);
|
||||
|
||||
/* unlock scheduler */
|
||||
rt_exit_critical();
|
||||
|
Loading…
x
Reference in New Issue
Block a user