SConscript 655 字节
Newer Older
1 2 3 4 5 6 7 8 9 10
Import('rtconfig')
from building import *

cwd     = GetCurrentDir()
src     = Split('''
''')

if GetDepend(['UTEST_MEMHEAP_TC']):
    src += ['memheap_tc.c']

Thomas_Fly's avatar
Thomas_Fly 已提交
11 12 13
if GetDepend(['UTEST_IRQ_TC']):
    src += ['irq_tc.c']
    
14 15 16
if GetDepend(['UTEST_SEMAPHORE_TC']):
    src += ['semaphore_tc.c']

L
liukangcc 已提交
17 18 19
if GetDepend(['UTEST_EVENT_TC']):
    src += ['event_tc.c']

T
tyustli 已提交
20 21 22
if GetDepend(['UTEST_TIMER_TC']):
    src += ['timer_tc.c']

23 24 25
if GetDepend(['UTEST_MESSAGEQUEUE_TC']):
    src += ['messagequeue_tc.c']

G
guozhanxin 已提交
26 27 28
if GetDepend(['UTEST_SIGNAL_TC']):
    src += ['signal_tc.c']

29 30 31 32 33
CPPPATH = [cwd]

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

Return('group')