mirror of https://github.com/RT-Thread/rt-thread
16 lines
319 B
Python
16 lines
319 B
Python
from building import *
|
|
|
|
src = []
|
|
|
|
if GetDepend('RT_UTEST_USING_ALL_CASES') or GetDepend('BSP_UTEST_DRIVERS'):
|
|
|
|
if GetDepend('BSP_USING_TIMERS'):
|
|
src += ['test_timer.c']
|
|
|
|
if GetDepend('BSP_USING_WDT'):
|
|
src += ['test_wdt.c']
|
|
|
|
group = DefineGroup('utestcases', src, depend = [''])
|
|
|
|
Return('group')
|