add tc_done()

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2381 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
nongli1031@gmail.com 2012-10-30 01:13:54 +00:00
parent aa0d3695e1
commit 6773015c4a
1 changed files with 2 additions and 2 deletions

View File

@ -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();