rt-thread/examples/utest/testcases/kernel/SConscript

43 lines
844 B
Python
Raw Normal View History

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']
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']
if GetDepend(['UTEST_MESSAGEQUEUE_TC']):
src += ['messagequeue_tc.c']
2021-09-04 18:04:37 +08:00
if GetDepend(['UTEST_SIGNAL_TC']):
src += ['signal_tc.c']
2021-09-06 15:30:08 +08:00
if GetDepend(['UTEST_MUTEX_TC']):
src += ['mutex_tc.c']
2021-09-09 10:15:26 +08:00
if GetDepend(['UTEST_MAILBOX_TC']):
src += ['mailbox_tc.c']
2021-10-11 13:47:26 +08:00
if GetDepend(['UTEST_THREAD_TC']):
src += ['thread_tc.c']
CPPPATH = [cwd]
group = DefineGroup('utestcases', src, depend = [], CPPPATH = CPPPATH)
Return('group')