Browse Source

fix kernel testcase fail issue, need to be reviewed

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1159 bbd45198-f89e-11dd-88c7-29a3b14d5316
qiuyiuestc 14 years ago
parent
commit
010afcef48

+ 0 - 3
examples/kernel/thread_detach.c

@@ -91,9 +91,6 @@ static void _tc_cleanup()
 
 	/* 调度器解锁 */
 	rt_exit_critical();
-
-	/* 设置TestCase状态 */
-	tc_done(TC_STAT_PASSED);
 }
 
 int _tc_thread_detach()

+ 0 - 3
examples/kernel/thread_dynamic_simple.c

@@ -62,9 +62,6 @@ static void _tc_cleanup()
 
 	/* 调度器解锁 */
 	rt_exit_critical();
-
-	/* 设置TestCase状态 */
-	tc_done(TC_STAT_PASSED);
 }
 
 int _tc_thread_dynamic_simple()

+ 0 - 3
examples/kernel/thread_static_simple.c

@@ -72,9 +72,6 @@ static void _tc_cleanup()
 
 	/* 调度器解锁 */
 	rt_exit_critical();
-
-	/* 设置TestCase状态 */
-	tc_done(TC_STAT_PASSED);
 }
 
 int _tc_thread_static_simple()