diff options
| author | Meco Man <[email protected]> | 2022-02-10 04:29:17 -0500 |
|---|---|---|
| committer | guo <[email protected]> | 2022-02-14 10:14:12 +0800 |
| commit | 0c35b803fa3437a92894c4e0a128e686dda82db2 (patch) | |
| tree | e13f91c5c4eb1cb31d340439e793529f50b8b68d | |
| parent | 56235c21dd6ca02025d503aeb6028dcb00a14246 (diff) | |
[utestcases] add dependence RT_USING_UTESTCASES
| -rw-r--r-- | examples/utest/testcases/kernel/SConscript | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/utest/testcases/kernel/SConscript b/examples/utest/testcases/kernel/SConscript index 95959f1f9b..8e7cf42cd8 100644 --- a/examples/utest/testcases/kernel/SConscript +++ b/examples/utest/testcases/kernel/SConscript @@ -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') |
