You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
563 B
23 lines
563 B
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']
|
|
|
|
# Define the test group with proper dependencies
|
|
group = DefineGroup('utestcases', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|
|
|