Files
rt-thread/components/drivers/ipc/utest/SConscript
Chen Wang d14daa6cb1 utest: ipc: move from examples to components/drivers/ipc
Also:
- Add "RT_" prefix for utest config options.
- Rename the case names to following the naming rule.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-13 10:44:16 +08:00

17 lines
375 B
Python

Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = []
CPPPATH = [cwd]
if GetDepend(['RT_UTEST_COMPLETION']):
src += ['completion_tc.c', 'completion_timeout_tc.c']
if GetDepend(['RT_UTEST_WORKQUEUE']):
src += ['workqueue_tc.c']
group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH)
Return('group')