Skip to content

Commit 0596a98

Browse files
committed
[add]kernel timer testcase
1 parent a280fb8 commit 0596a98

File tree

3 files changed

+528
-0
lines changed

3 files changed

+528
-0
lines changed

examples/utest/testcases/kernel/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ config UTEST_EVENT_TC
1919
default n
2020
depends on RT_USING_EVENT
2121

22+
config UTEST_TIMER_TC
23+
bool "timer test"
24+
default n
25+
2226
endmenu

examples/utest/testcases/kernel/SConscript

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ if GetDepend(['UTEST_SEMAPHORE_TC']):
1717
if GetDepend(['UTEST_EVENT_TC']):
1818
src += ['event_tc.c']
1919

20+
if GetDepend(['UTEST_TIMER_TC']):
21+
src += ['timer_tc.c']
22+
2023
CPPPATH = [cwd]
2124

2225
group = DefineGroup('utestcases', src, depend = [], CPPPATH = CPPPATH)

0 commit comments

Comments
 (0)