Skip to content

Commit 22612ae

Browse files
authored
[utest][wq]add workqueue_tc (#9850)
* [utest][wq]add workqueue_tc. * [action][ci]ci添加wq测试用例
1 parent 8cf5389 commit 22612ae

File tree

4 files changed

+611
-0
lines changed

4 files changed

+611
-0
lines changed

examples/utest/configs/kernel/ipc.conf

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CONFIG_UTEST_MESSAGEQUEUE_TC=y
44
CONFIG_UTEST_SIGNAL_TC=y
55
CONFIG_UTEST_MUTEX_TC=y
66
CONFIG_UTEST_MAILBOX_TC=y
7+
CONFIG_UTEST_WORKQUEUE_TC=y
78
# dependencies
89
CONFIG_RT_USING_SEMAPHORE=y
910
CONFIG_RT_USING_EVENT=y

examples/utest/testcases/drivers/ipc/Kconfig

+4
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ config UTEST_COMPLETION_TC
44
bool "rt_completion testcase"
55
default n
66

7+
config UTEST_WORKQUEUE_TC
8+
bool "rt_workqueue testcase"
9+
default n
10+
711
endmenu

examples/utest/testcases/drivers/ipc/SConscript

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ CPPPATH = [cwd]
88
if GetDepend(['UTEST_COMPLETION_TC']):
99
src += ['completion_tc.c', 'completion_timeout_tc.c']
1010

11+
if GetDepend(['UTEST_WORKQUEUE_TC']):
12+
src += ['workqueue_tc.c']
13+
1114
group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH)
1215

1316
Return('group')

0 commit comments

Comments
 (0)