SConscript 443 B

1234567891011121314151617181920
  1. from building import *
  2. src = []
  3. if GetDepend('RT_UTEST_USING_ALL_CASES') or GetDepend('BSP_UTEST_DRIVERS'):
  4. src += ['test_gpio.c']
  5. src += ['test_gpio_irq.c']
  6. if GetDepend('BSP_USING_ADC'):
  7. src += ['test_adc.c']
  8. if GetDepend('BSP_USING_TIMERS'):
  9. src += ['test_timer.c']
  10. if GetDepend('BSP_USING_WDT'):
  11. src += ['test_wdt.c']
  12. group = DefineGroup('utestcases', src, depend = [''])
  13. Return('group')