Skip to content

Commit

Permalink
[utest][wq]add workqueue_tc (#9850)
Browse files Browse the repository at this point in the history
* [utest][wq]add workqueue_tc.

* [action][ci]ci添加wq测试用例
  • Loading branch information
Rbb666 authored Jan 1, 2025
1 parent 8cf5389 commit 22612ae
Show file tree
Hide file tree
Showing 4 changed files with 611 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/utest/configs/kernel/ipc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CONFIG_UTEST_MESSAGEQUEUE_TC=y
CONFIG_UTEST_SIGNAL_TC=y
CONFIG_UTEST_MUTEX_TC=y
CONFIG_UTEST_MAILBOX_TC=y
CONFIG_UTEST_WORKQUEUE_TC=y
# dependencies
CONFIG_RT_USING_SEMAPHORE=y
CONFIG_RT_USING_EVENT=y
Expand Down
4 changes: 4 additions & 0 deletions examples/utest/testcases/drivers/ipc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ config UTEST_COMPLETION_TC
bool "rt_completion testcase"
default n

config UTEST_WORKQUEUE_TC
bool "rt_workqueue testcase"
default n

endmenu
3 changes: 3 additions & 0 deletions examples/utest/testcases/drivers/ipc/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ CPPPATH = [cwd]
if GetDepend(['UTEST_COMPLETION_TC']):
src += ['completion_tc.c', 'completion_timeout_tc.c']

if GetDepend(['UTEST_WORKQUEUE_TC']):
src += ['workqueue_tc.c']

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

Return('group')
Loading

0 comments on commit 22612ae

Please sign in to comment.