blob: 61d20154aafff9be21ebad6c07dfcd373b28446c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
import rtconfig
Import('RTT_ROOT')
from building import *
# get current directory
cwd = GetCurrentDir()
path = [cwd]
src = []
if GetDepend('RTT_POSIX_TESTCASE_STDIO_H'):
src += Glob('./definitions/*.c')
if GetDepend('STDIO_H_CLEARERR'):
src += Glob('./functions/clearerr.c')
if GetDepend('STDIO_H_FCLOSE'):
src += Glob('./functions/fclose.c')
if GetDepend('STDIO_H_FDOPEN'):
src += Glob('./functions/fdopen_tc.c')
if GetDepend('STDIO_H_FEOF'):
src += Glob('./functions/feof.c')
if GetDepend('STDIO_H_FERROR'):
src += Glob('./functions/ferror.c')
if GetDepend('STDIO_H_FFLUSH'):
src += Glob('./functions/fflush.c')
if GetDepend('STDIO_H_FGETC'):
src += Glob('./functions/fgetc.c')
if GetDepend('STDIO_H_FGETS'):
src += Glob('./functions/fgets.c')
if GetDepend('STDIO_H_FILENO'):
src += Glob('./functions/fileno.c')
if GetDepend('STDIO_H_FOPEN'):
src += Glob('./functions/fopen.c')
if GetDepend('STDIO_H_FPRINTF'):
src += Glob('./functions/fprintf.c')
if GetDepend('STDIO_H_FPUTC'):
src += Glob('./functions/fputc.c')
if GetDepend('STDIO_H_FPUTS'):
src += Glob('./functions/fputs.c')
if GetDepend('STDIO_H_FREAD'):
src += Glob('./functions/fread.c')
if GetDepend('STDIO_H_FSCANF'):
src += Glob('./functions/fscanf.c')
if GetDepend('STDIO_H_FSEEK'):
src += Glob('./functions/fseek.c')
if GetDepend('STDIO_H_FTELL'):
src += Glob('./functions/ftell.c')
if GetDepend('STDIO_H_FWRITE'):
src += Glob('./functions/fwrite.c')
if GetDepend('STDIO_H_PERROR'):
src += Glob('./functions/perror.c')
if GetDepend('STDIO_H_PRINTF'):
src += Glob('./functions/printf.c')
if GetDepend('STDIO_H_PUTC'):
src += Glob('./functions/puts.c')
if GetDepend('STDIO_H_REMOVE'):
src += Glob('./functions/remove.c')
if GetDepend('STDIO_H_RENAME'):
src += Glob('./functions/rename.c')
if GetDepend('STDIO_H_REWIND'):
src += Glob('./functions/rewind.c')
if GetDepend('STDIO_H_SETBUF'):
src += Glob('./functions/setbuf.c')
if GetDepend('STDIO_H_SETVBUF'):
src += Glob('./functions/setvbuf.c')
if GetDepend('STDIO_H_SNPRINTF'):
src += Glob('./functions/snprintf.c')
if GetDepend('STDIO_H_SPRINTF'):
src += Glob('./functions/sprintf.c')
if GetDepend('STDIO_H_SSCANF'):
src += Glob('./functions/sscanf.c')
if GetDepend('STDIO_H_VFPRINTF'):
src += Glob('./functions/vfprintf.c')
if GetDepend('STDIO_H_VPRINTF'):
src += Glob('./functions/vprintf.c')
if GetDepend('STDIO_H_VSNPRINTF'):
src += Glob('./functions/vsnprintf.c')
if GetDepend('STDIO_H_VSPRINTF'):
src += Glob('./functions/vsprintf.c')
group = DefineGroup('rtt_posix_testcase', src, depend = ['RTT_POSIX_TESTCASE_STDIO_H'], CPPPATH = path)
Return('group')
|