[utestcases] add dependence RT_USING_UTESTCASES

This commit is contained in:
Meco Man 2022-02-10 04:29:17 -05:00 committed by guo
parent 56235c21dd
commit 0c35b803fa
1 changed files with 3 additions and 5 deletions

View File

@ -2,8 +2,8 @@ Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = Split('''
''')
src = []
CPPPATH = [cwd]
if GetDepend(['UTEST_MEMHEAP_TC']):
src += ['memheap_tc.c']
@ -41,8 +41,6 @@ if GetDepend(['UTEST_MAILBOX_TC']):
if GetDepend(['UTEST_THREAD_TC']):
src += ['thread_tc.c']
CPPPATH = [cwd]
group = DefineGroup('utestcases', src, depend = [''], CPPPATH = CPPPATH)
group = DefineGroup('utestcases', src, depend = ['RT_USING_UTESTCASES'], CPPPATH = CPPPATH)
Return('group')