Skip to content

Commit 141e6a0

Browse files
committed
[add] add semaphore testcase src code and Kconfig
1 parent a6df439 commit 141e6a0

File tree

3 files changed

+567
-0
lines changed

3 files changed

+567
-0
lines changed

examples/utest/testcases/kernel/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ config UTEST_MEMHEAP_TC
55
default y
66
depends on RT_USING_MEMHEAP
77

8+
config UTEST_SEMAPHORE_TC
9+
bool "semaphore test"
10+
default n
11+
depends on RT_USING_SEMAPHORE
12+
813
endmenu

examples/utest/testcases/kernel/SConscript

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ src = Split('''
88
if GetDepend(['UTEST_MEMHEAP_TC']):
99
src += ['memheap_tc.c']
1010

11+
if GetDepend(['UTEST_SEMAPHORE_TC']):
12+
src += ['semaphore_tc.c']
13+
1114
CPPPATH = [cwd]
1215

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

0 commit comments

Comments
 (0)