[add] add semaphore testcase src code and Kconfig

This commit is contained in:
tyustli
2021-08-12 11:43:15 +08:00
parent a6df4391ed
commit 141e6a03e9
3 changed files with 567 additions and 0 deletions

View File

@@ -5,4 +5,9 @@ config UTEST_MEMHEAP_TC
default y
depends on RT_USING_MEMHEAP
config UTEST_SEMAPHORE_TC
bool "semaphore test"
default n
depends on RT_USING_SEMAPHORE
endmenu

View File

@@ -8,6 +8,9 @@ src = Split('''
if GetDepend(['UTEST_MEMHEAP_TC']):
src += ['memheap_tc.c']
if GetDepend(['UTEST_SEMAPHORE_TC']):
src += ['semaphore_tc.c']
CPPPATH = [cwd]
group = DefineGroup('utestcases', src, depend = [], CPPPATH = CPPPATH)

File diff suppressed because it is too large Load Diff