summaryrefslogtreecommitdiff
path: root/examples/utest/testcases/kernel/SConscript
blob: 0d2645427be0379fa1e6397b4f7e9f388001d7fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Import('rtconfig')
from building import *

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

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

if GetDepend(['UTEST_IRQ_TC']):
    src += ['irq_tc.c']
    
if GetDepend(['UTEST_SEMAPHORE_TC']):
    src += ['semaphore_tc.c']

if GetDepend(['UTEST_EVENT_TC']):
    src += ['event_tc.c']

if GetDepend(['UTEST_TIMER_TC']):
    src += ['timer_tc.c']

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

if GetDepend(['UTEST_SIGNAL_TC']):
    src += ['signal_tc.c']

if GetDepend(['UTEST_MUTEX_TC']):
    src += ['mutex_tc.c']

if GetDepend(['UTEST_MAILBOX_TC']):
    src += ['mailbox_tc.c']

if GetDepend(['UTEST_THREAD_TC']):
    src += ['thread_tc.c']

CPPPATH = [cwd]

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

Return('group')