import RT-Thread@9217865c without bsp, libcpu and components/net
This commit is contained in:
commit
e2376a3709
1414 changed files with 390370 additions and 0 deletions
33
examples/utest/testcases/posix/unistd_h/SConscript
Normal file
33
examples/utest/testcases/posix/unistd_h/SConscript
Normal file
|
@ -0,0 +1,33 @@
|
|||
import rtconfig
|
||||
Import('RTT_ROOT')
|
||||
from building import *
|
||||
|
||||
# get current directory
|
||||
cwd = GetCurrentDir()
|
||||
path = [cwd]
|
||||
src = []
|
||||
|
||||
if GetDepend('RTT_POSIX_TESTCASE_UNISTD_H'):
|
||||
src += Glob('./definitions/*.c')
|
||||
|
||||
if GetDepend('UNISTD_H_ACCESS'):
|
||||
src += Glob('./functions/access_tc.c')
|
||||
|
||||
if GetDepend('UNISTD_H_CHDIR'):
|
||||
src += Glob('./functions/chdir_tc.c')
|
||||
|
||||
if GetDepend('UNISTD_H_FTRUNCATE'):
|
||||
src += Glob('./functions/ftruncate_tc.c')
|
||||
|
||||
if GetDepend('UNISTD_H_ISATTY'):
|
||||
src += Glob('./functions/isatty_tc.c')
|
||||
|
||||
if GetDepend('UNISTD_H_FSYNC'):
|
||||
src += Glob('./functions/open_read_write_fsync_close_tc.c')
|
||||
|
||||
if GetDepend('UNISTD_H_RMDIR'):
|
||||
src += Glob('./functions/rmdir_tc.c')
|
||||
|
||||
group = DefineGroup('rtt_posix_testcase', src, depend = ['RTT_POSIX_TESTCASE_UNISTD_H'], CPPPATH = path)
|
||||
|
||||
Return('group')
|
Loading…
Add table
Add a link
Reference in a new issue