summaryrefslogtreecommitdiff
path: root/examples/utest/testcases/drivers/serial_v2/SConscript
blob: 7ef99d20b7d9a7f31f25ba21f32635ad04d26918 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Import('rtconfig')
from building import *

cwd     = GetCurrentDir()
src     = Glob('*.c')

path = [cwd]

if GetDepend(['UTEST_SERIAL_POSIX_TC']):
    src += Glob('posix/*.c')

if GetDepend(['UTEST_SERIAL_QEMU_TC']):
    src += Glob('qemu/*.c')

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

Return('group')