SConscript 381 B

123456789101112131415
  1. Import('rtconfig')
  2. from building import *
  3. cwd = GetCurrentDir()
  4. src = []
  5. CPPPATH = [cwd]
  6. if GetDepend('RT_UTEST_TC_USING_LWIP'):
  7. # Add lwIP test source if enabled
  8. src += ['tc_lwip.c']
  9. # Define the test group with proper dependencies
  10. group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES', 'RT_USING_LWIP'], CPPPATH = CPPPATH)
  11. Return('group')