4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 10:53:30 +08:00

[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

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')