Skip to content

Commit 511bafb

Browse files
authored
[testcase] correct the file names in sconscirpt
1 parent 93baf8d commit 511bafb

File tree

1 file changed

+38
-32
lines changed

1 file changed

+38
-32
lines changed

examples/utest/testcases/posix/stdio_h/SConscript

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,104 +12,110 @@ if GetDepend('RTT_POSIX_TESTCASE_STDIO_H'):
1212

1313

1414
if GetDepend('STDIO_H_CLEARERR'):
15-
src += Glob('./functions/clearerr.c')
15+
src += Glob('./functions/clearerr_tc.c')
1616

1717
if GetDepend('STDIO_H_FCLOSE'):
18-
src += Glob('./functions/fclose.c')
18+
src += Glob('./functions/fclose_tc.c')
1919

2020
if GetDepend('STDIO_H_FDOPEN'):
2121
src += Glob('./functions/fdopen_tc.c')
2222

2323
if GetDepend('STDIO_H_FEOF'):
24-
src += Glob('./functions/feof.c')
24+
src += Glob('./functions/feof_tc.c')
2525

2626
if GetDepend('STDIO_H_FERROR'):
27-
src += Glob('./functions/ferror.c')
27+
src += Glob('./functions/ferror_tc.c')
2828

2929
if GetDepend('STDIO_H_FFLUSH'):
30-
src += Glob('./functions/fflush.c')
30+
src += Glob('./functions/fflush_tc.c')
3131

3232
if GetDepend('STDIO_H_FGETC'):
33-
src += Glob('./functions/fgetc.c')
33+
src += Glob('./functions/fgetc_tc.c')
3434

3535
if GetDepend('STDIO_H_FGETS'):
36-
src += Glob('./functions/fgets.c')
36+
src += Glob('./functions/fgets_tc.c')
3737

3838
if GetDepend('STDIO_H_FILENO'):
39-
src += Glob('./functions/fileno.c')
39+
src += Glob('./functions/fileno_tc.c')
4040

4141
if GetDepend('STDIO_H_FOPEN'):
42-
src += Glob('./functions/fopen.c')
42+
src += Glob('./functions/fopen_tc.c')
4343

4444
if GetDepend('STDIO_H_FPRINTF'):
45-
src += Glob('./functions/fprintf.c')
45+
src += Glob('./functions/fprintf_tc.c')
4646

4747
if GetDepend('STDIO_H_FPUTC'):
48-
src += Glob('./functions/fputc.c')
48+
src += Glob('./functions/fputc_tc.c')
4949

5050
if GetDepend('STDIO_H_FPUTS'):
51-
src += Glob('./functions/fputs.c')
51+
src += Glob('./functions/fputs_tc.c')
5252

5353
if GetDepend('STDIO_H_FREAD'):
54-
src += Glob('./functions/fread.c')
54+
src += Glob('./functions/fread_tc.c')
5555

5656
if GetDepend('STDIO_H_FSCANF'):
57-
src += Glob('./functions/fscanf.c')
57+
src += Glob('./functions/fscanf_tc.c')
5858

5959
if GetDepend('STDIO_H_FSEEK'):
60-
src += Glob('./functions/fseek.c')
60+
src += Glob('./functions/fseek_tc.c')
6161

6262
if GetDepend('STDIO_H_FTELL'):
63-
src += Glob('./functions/ftell.c')
63+
src += Glob('./functions/ftell_tc.c')
6464

6565
if GetDepend('STDIO_H_FWRITE'):
66-
src += Glob('./functions/fwrite.c')
66+
src += Glob('./functions/fwrite_tc.c')
6767

6868

6969
if GetDepend('STDIO_H_PERROR'):
70-
src += Glob('./functions/perror.c')
70+
src += Glob('./functions/perror_tc.c')
7171

7272
if GetDepend('STDIO_H_PRINTF'):
73-
src += Glob('./functions/printf.c')
73+
src += Glob('./functions/printf_tc.c')
7474

7575
if GetDepend('STDIO_H_PUTC'):
76-
src += Glob('./functions/puts.c')
76+
src += Glob('./functions/putc_tc.c')
77+
78+
if GetDepend('STDIO_H_PUTCHAR'):
79+
src += Glob('./functions/putchar_tc.c')
80+
81+
if GetDepend('STDIO_H_PUTS'):
82+
src += Glob('./functions/puts_tc.c')
7783

7884
if GetDepend('STDIO_H_REMOVE'):
79-
src += Glob('./functions/remove.c')
85+
src += Glob('./functions/remove_tc.c')
8086

8187
if GetDepend('STDIO_H_RENAME'):
82-
src += Glob('./functions/rename.c')
88+
src += Glob('./functions/rename_tc.c')
8389

8490
if GetDepend('STDIO_H_REWIND'):
85-
src += Glob('./functions/rewind.c')
91+
src += Glob('./functions/rewind_tc.c')
8692

8793
if GetDepend('STDIO_H_SETBUF'):
88-
src += Glob('./functions/setbuf.c')
94+
src += Glob('./functions/setbuf_tc.c')
8995

9096
if GetDepend('STDIO_H_SETVBUF'):
91-
src += Glob('./functions/setvbuf.c')
97+
src += Glob('./functions/setvbuf_tc.c')
9298

9399
if GetDepend('STDIO_H_SNPRINTF'):
94-
src += Glob('./functions/snprintf.c')
100+
src += Glob('./functions/snprintf_tc.c')
95101

96102
if GetDepend('STDIO_H_SPRINTF'):
97-
src += Glob('./functions/sprintf.c')
103+
src += Glob('./functions/sprintf_tc.c')
98104

99105
if GetDepend('STDIO_H_SSCANF'):
100-
src += Glob('./functions/sscanf.c')
106+
src += Glob('./functions/sscanf_tc.c')
101107

102108
if GetDepend('STDIO_H_VFPRINTF'):
103-
src += Glob('./functions/vfprintf.c')
109+
src += Glob('./functions/vfprintf_tc.c')
104110

105111
if GetDepend('STDIO_H_VPRINTF'):
106-
src += Glob('./functions/vprintf.c')
112+
src += Glob('./functions/vprintf_tc.c')
107113

108114
if GetDepend('STDIO_H_VSNPRINTF'):
109-
src += Glob('./functions/vsnprintf.c')
115+
src += Glob('./functions/vsnprintf_tc.c')
110116

111117
if GetDepend('STDIO_H_VSPRINTF'):
112-
src += Glob('./functions/vsprintf.c')
118+
src += Glob('./functions/vsprintf_tc.c')
113119

114120
group = DefineGroup('rtt_posix_testcase', src, depend = ['RTT_POSIX_TESTCASE_STDIO_H'], CPPPATH = path)
115121

0 commit comments

Comments
 (0)