blob: 75c681a7e46a83038934e02e3083abe83072faa8 (
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
|
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = []
CPPPATH = [cwd]
if GetDepend('RT_UTEST_TC_USING_LWIP'):
# Add lwIP test source if enabled
src += ['tc_lwip.c']
if GetDepend('RT_UTEST_TC_USING_NETDEV'):
# Add netdev test source if enabled
src += ['tc_netdev.c']
if GetDepend('RT_UTEST_TC_USING_SAL'):
# Add sal test source if enabled
src += ['tc_sal_socket.c']
if GetDepend(['RT_USING_DFS_V2', 'SAL_USING_POSIX']):
src += ['tc_sal_socket_failure.c']
# Define the test group with proper dependencies
group = DefineGroup('utestcases', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
|