summaryrefslogtreecommitdiff
path: root/components/drivers/rtc/utest/SConscript
blob: 041f04a7745b437ec858162ba1c39e9fb5e4e4e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Import('rtconfig')
from building import *

cwd     = GetCurrentDir()
src     = []
CPPPATH = [cwd, cwd + '/../../include']

if GetDepend(['RT_UTEST_RTC']):
    src += ['rtc_time_tc.c']

if GetDepend(['RT_UTEST_RTC_ALARM']):
    src += ['rtc_alarm_tc.c']

group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES', 'RT_USING_RTC'], CPPPATH = CPPPATH)

Return('group')