Skip to content

Commit 67762dc

Browse files
authored
Merge pull request #4967 from tyustli/timer_test
[add] [testcase] add timer testcase src code and Kconfig
2 parents 7b66141 + e24e625 commit 67762dc

File tree

3 files changed

+527
-0
lines changed

3 files changed

+527
-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)