Browse Source

【完善】SConscript 脚本文件

guozhanxin 4 years ago
parent
commit
5767c2e0f4
1 changed files with 3 additions and 4 deletions
  1. 3 4
      examples/utest/testcases/utest/SConscript

+ 3 - 4
examples/utest/testcases/utest/SConscript

@@ -2,10 +2,9 @@ Import('rtconfig')
 from building import *
 
 cwd     = GetCurrentDir()
-src     = []
-
-if GetDepend('UTEST_SELF_PASS_TC'):
-    src += ['pass_tc.c']
+src     = Split('''
+pass_tc.c
+''')
 
 CPPPATH = [cwd]