summaryrefslogtreecommitdiff
path: root/components/drivers/serial/utest/v2/SConscript
blob: 487fff585defcc8ef37a53f65d34492a7d4f8bd7 (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(['RT_UTEST_SERIAL_POSIX']):
    src += Glob('posix/*.c')

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

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

Return('group')