Explorar el Código

【完善】SConscript 脚本文件

guozhanxin hace 4 años
padre
commit
5767c2e0f4
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  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]