mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 17:12:01 +08:00
[add]kernel timer testcase
This commit is contained in:
@@ -19,4 +19,8 @@ config UTEST_EVENT_TC
|
||||
default n
|
||||
depends on RT_USING_EVENT
|
||||
|
||||
config UTEST_TIMER_TC
|
||||
bool "timer test"
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -17,6 +17,9 @@ if GetDepend(['UTEST_SEMAPHORE_TC']):
|
||||
if GetDepend(['UTEST_EVENT_TC']):
|
||||
src += ['event_tc.c']
|
||||
|
||||
if GetDepend(['UTEST_TIMER_TC']):
|
||||
src += ['timer_tc.c']
|
||||
|
||||
CPPPATH = [cwd]
|
||||
|
||||
group = DefineGroup('utestcases', src, depend = [], CPPPATH = CPPPATH)
|
||||
|
||||
521
examples/utest/testcases/kernel/timer_tc.c
Normal file
521
examples/utest/testcases/kernel/timer_tc.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user