Commit Graph

17 Commits

Author SHA1 Message Date
Grissiom 21fe463168 TC: delay longer in tc_stop 2013-12-23 10:47:15 +08:00
Grissiom fddbd836b4 TC: re-implement the loop feature
We should not use the _tc_stat to determine whether we should loop the
TCs. Use an other variable and introduce tc_loop FinSh command.
2013-12-23 10:42:39 +08:00
Grissiom f7b1421880 TC: expand TABs 2013-12-21 12:57:35 +08:00
Grissiom 6b02886eb3 TC: print a summary after all the tests 2013-12-21 11:59:21 +08:00
Grissiom bf640015e6 TC: clear the TC_STAT_RUNNING flag when tc forgot to do so
TCs are supposed to exit with the TC_STAT_RUNNING cleared. If it forgot
to do this, do it by ourselves.
2013-12-20 10:23:31 +08:00
Grissiom 752fe135cd TC: code cleanup 2013-12-18 22:21:31 +08:00
Grissiom b66c5ee074 TC: always print the test result despite the wait time 2013-12-18 22:20:10 +08:00
Grissiom e9e8e3f3ca TC: do not use rt_sem_trytake to clean the sem
There can be a race condition that the sem has alread been detached
after we did the cleanup. Besides, there is a RT_IPC_CMD_RESET command
in rt_sem_control which is more clear in setting the sem values.
2013-12-18 20:52:55 +08:00
Bernard Xiong 72782e9203 convert end of line 2013-01-08 05:05:02 -08:00
rogerz.zhang@gmail.com d573786d52 fix memory access error in list_tc() under bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2550 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 08:11:38 +00:00
nongli1031@gmail.com aa0d3695e1 add rt_sem_treytalk()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2380 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-30 00:55:48 +00:00
bernard.xiong@gmail.com d28cdf68d9 update testcase for kernel.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1849 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-19 07:08:06 +00:00
dzzxzz 9bb329daee update kernel examples
fixed an error in timer_control.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1730 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-26 02:50:43 +00:00
dzzxzz 2ab9a1602e fixed compiling error in lpc122x branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1721 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23 05:23:46 +00:00
bernard.xiong 8d4da31b8e add more Chinese comments.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@525 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-23 09:45:58 +00:00
bernard.xiong 54d711a9c5 add more thread examples.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@459 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-03 09:12:08 +00:00
bernard.xiong 6ccd04543c add thread example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@456 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-01 09:37:59 +00:00