2021-06-03 14:57:26 +08:00
|
|
|
Import('rtconfig')
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Split('''
|
|
|
|
''')
|
|
|
|
|
|
|
|
if GetDepend(['UTEST_MEMHEAP_TC']):
|
|
|
|
src += ['memheap_tc.c']
|
|
|
|
|
2021-08-17 22:14:33 +08:00
|
|
|
if GetDepend(['UTEST_IRQ_TC']):
|
|
|
|
src += ['irq_tc.c']
|
|
|
|
|
2021-08-12 11:43:15 +08:00
|
|
|
if GetDepend(['UTEST_SEMAPHORE_TC']):
|
|
|
|
src += ['semaphore_tc.c']
|
|
|
|
|
2021-08-17 14:59:36 +08:00
|
|
|
if GetDepend(['UTEST_EVENT_TC']):
|
|
|
|
src += ['event_tc.c']
|
|
|
|
|
2021-08-23 12:37:54 +08:00
|
|
|
if GetDepend(['UTEST_TIMER_TC']):
|
|
|
|
src += ['timer_tc.c']
|
|
|
|
|
2021-06-03 14:57:26 +08:00
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
|
|
|
group = DefineGroup('utestcases', src, depend = [], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|