mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-24 17:33:58 +08:00
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>
17 lines
375 B
Python
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')
|