1 | # |
---|
2 | # File System Testsuite |
---|
3 | # |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../aclocal |
---|
6 | |
---|
7 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
8 | include $(top_srcdir)/../automake/compile.am |
---|
9 | |
---|
10 | fs_tests = |
---|
11 | fs_screens = |
---|
12 | fs_docs = |
---|
13 | |
---|
14 | support_includes = -I$(top_srcdir)/../support/include |
---|
15 | test_includes = -I$(top_srcdir)/support |
---|
16 | |
---|
17 | if TEST_fsbdpart01 |
---|
18 | fs_tests += fsbdpart01 |
---|
19 | fs_screens += fsbdpart01/fsbdpart01.scn |
---|
20 | fs_docs += fsbdpart01/fsbdpart01.doc |
---|
21 | fsbdpart01_SOURCES = fsbdpart01/init.c |
---|
22 | fsbdpart01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsbdpart01) \ |
---|
23 | $(support_includes) |
---|
24 | endif |
---|
25 | |
---|
26 | if TEST_fsclose01 |
---|
27 | fs_tests += fsclose01 |
---|
28 | fs_screens += fsclose01/fsclose01.scn |
---|
29 | fs_docs += fsclose01/fsclose01.doc |
---|
30 | fsclose01_SOURCES = fsclose01/init.c |
---|
31 | fsclose01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsclose01) \ |
---|
32 | $(support_includes) |
---|
33 | endif |
---|
34 | |
---|
35 | if TEST_fsdosfsformat01 |
---|
36 | fs_tests += fsdosfsformat01 |
---|
37 | fs_screens += fsdosfsformat01/fsdosfsformat01.scn |
---|
38 | fs_docs += fsdosfsformat01/fsdosfsformat01.doc |
---|
39 | fsdosfsformat01_SOURCES = fsdosfsformat01/init.c |
---|
40 | fsdosfsformat01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
41 | $(TEST_FLAGS_fsdosfsformat01) $(support_includes) |
---|
42 | endif |
---|
43 | |
---|
44 | if TEST_fsdosfsname01 |
---|
45 | fs_tests += fsdosfsname01 |
---|
46 | fs_screens += fsdosfsname01/fsdosfsname01.scn |
---|
47 | fs_docs += fsdosfsname01/fsdosfsname01.doc |
---|
48 | fsdosfsname01_SOURCES = fsdosfsname01/init.c support/ramdisk_support.c |
---|
49 | fsdosfsname01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfsname01) \ |
---|
50 | $(support_includes) $(test_includes) |
---|
51 | endif |
---|
52 | |
---|
53 | if TEST_fsdosfsname02 |
---|
54 | fs_tests += fsdosfsname02 |
---|
55 | fs_screens += fsdosfsname02/fsdosfsname02.scn |
---|
56 | fs_docs += fsdosfsname02/fsdosfsname02.doc |
---|
57 | fsdosfsname02_SOURCES = fsdosfsname02/init.c |
---|
58 | fsdosfsname02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfsname02) \ |
---|
59 | $(support_includes) |
---|
60 | endif |
---|
61 | |
---|
62 | if TEST_fsdosfssync01 |
---|
63 | fs_tests += fsdosfssync01 |
---|
64 | fs_screens += fsdosfssync01/fsdosfssync01.scn |
---|
65 | fs_docs += fsdosfssync01/fsdosfssync01.doc |
---|
66 | fsdosfssync01_SOURCES = fsdosfssync01/init.c |
---|
67 | fsdosfssync01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfssync01) \ |
---|
68 | $(support_includes) |
---|
69 | endif |
---|
70 | |
---|
71 | if TEST_fsdosfswrite01 |
---|
72 | fs_tests += fsdosfswrite01 |
---|
73 | fs_screens += fsdosfswrite01/fsdosfswrite01.scn |
---|
74 | fs_docs += fsdosfswrite01/fsdosfswrite01.doc |
---|
75 | fsdosfswrite01_SOURCES = fsdosfswrite01/init.c |
---|
76 | fsdosfswrite01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfswrite01) \ |
---|
77 | $(support_includes) |
---|
78 | endif |
---|
79 | |
---|
80 | if TEST_fsfseeko01 |
---|
81 | fs_tests += fsfseeko01 |
---|
82 | fs_screens += fsfseeko01/fsfseeko01.scn |
---|
83 | fs_docs += fsfseeko01/fsfseeko01.doc |
---|
84 | fsfseeko01_SOURCES = fsfseeko01/init.c |
---|
85 | fsfseeko01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsfseeko01) \ |
---|
86 | $(support_includes) |
---|
87 | endif |
---|
88 | |
---|
89 | if TEST_fsimfsconfig01 |
---|
90 | fs_tests += fsimfsconfig01 |
---|
91 | fs_screens += fsimfsconfig01/fsimfsconfig01.scn |
---|
92 | fs_docs += fsimfsconfig01/fsimfsconfig01.doc |
---|
93 | fsimfsconfig01_SOURCES = fsimfsconfig01/init.c |
---|
94 | fsimfsconfig01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig01) \ |
---|
95 | $(support_includes) |
---|
96 | endif |
---|
97 | |
---|
98 | if TEST_fsimfsconfig02 |
---|
99 | fs_tests += fsimfsconfig02 |
---|
100 | fs_screens += fsimfsconfig02/fsimfsconfig02.scn |
---|
101 | fs_docs += fsimfsconfig02/fsimfsconfig02.doc |
---|
102 | fsimfsconfig02_SOURCES = fsimfsconfig02/init.c |
---|
103 | fsimfsconfig02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig02) \ |
---|
104 | $(support_includes) |
---|
105 | endif |
---|
106 | |
---|
107 | if TEST_fsimfsconfig03 |
---|
108 | fs_tests += fsimfsconfig03 |
---|
109 | fs_screens += fsimfsconfig03/fsimfsconfig03.scn |
---|
110 | fs_docs += fsimfsconfig03/fsimfsconfig03.doc |
---|
111 | fsimfsconfig03_SOURCES = fsimfsconfig03/init.c |
---|
112 | fsimfsconfig03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig03) \ |
---|
113 | $(support_includes) |
---|
114 | endif |
---|
115 | |
---|
116 | if TEST_fsimfsgeneric01 |
---|
117 | fs_tests += fsimfsgeneric01 |
---|
118 | fs_screens += fsimfsgeneric01/fsimfsgeneric01.scn |
---|
119 | fs_docs += fsimfsgeneric01/fsimfsgeneric01.doc |
---|
120 | fsimfsgeneric01_SOURCES = fsimfsgeneric01/init.c |
---|
121 | fsimfsgeneric01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
122 | $(TEST_FLAGS_fsimfsgeneric01) $(support_includes) |
---|
123 | endif |
---|
124 | |
---|
125 | if TEST_fsjffs2gc01 |
---|
126 | fs_tests += fsjffs2gc01 |
---|
127 | fs_screens += fsjffs2gc01/fsjffs2gc01.scn |
---|
128 | fs_docs += fsjffs2gc01/fsjffs2gc01.doc |
---|
129 | fsjffs2gc01_SOURCES = fsjffs2gc01/init.c support/fstest_support.c \ |
---|
130 | support/fstest_support.h support/fstest.h \ |
---|
131 | ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ |
---|
132 | jffs2_support/fs_config.h |
---|
133 | fsjffs2gc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsjffs2gc01) \ |
---|
134 | $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support |
---|
135 | fsjffs2gc01_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD) |
---|
136 | endif |
---|
137 | |
---|
138 | if TEST_fsnofs01 |
---|
139 | fs_tests += fsnofs01 |
---|
140 | fs_screens += fsnofs01/fsnofs01.scn |
---|
141 | fs_docs += fsnofs01/fsnofs01.doc |
---|
142 | fsnofs01_SOURCES = fsnofs01/init.c |
---|
143 | fsnofs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsnofs01) \ |
---|
144 | $(support_includes) |
---|
145 | endif |
---|
146 | |
---|
147 | if TEST_fsrfsbitmap01 |
---|
148 | fs_tests += fsrfsbitmap01 |
---|
149 | fs_screens += fsrfsbitmap01/fsrfsbitmap01.scn |
---|
150 | fs_docs += fsrfsbitmap01/fsrfsbitmap01.doc |
---|
151 | fsrfsbitmap01_SOURCES = fsrfsbitmap01/test.c support/ramdisk_support.c \ |
---|
152 | support/fstest_support.c support/fstest_support.h \ |
---|
153 | support/ramdisk_support.h support/fstest.h \ |
---|
154 | ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ |
---|
155 | mrfs_support/fs_config.h |
---|
156 | fsrfsbitmap01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsrfsbitmap01) \ |
---|
157 | $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support |
---|
158 | endif |
---|
159 | |
---|
160 | if TEST_fsrofs01 |
---|
161 | fs_tests += fsrofs01 |
---|
162 | fs_screens += fsrofs01/fsrofs01.scn |
---|
163 | fs_docs += fsrofs01/fsrofs01.doc |
---|
164 | fsrofs01_SOURCES = fsrofs01/init.c |
---|
165 | fsrofs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsrofs01) \ |
---|
166 | $(support_includes) |
---|
167 | endif |
---|
168 | |
---|
169 | if TEST_imfs_fserror |
---|
170 | fs_tests += imfs_fserror |
---|
171 | fs_screens += fserror/imfs_fserror.scn |
---|
172 | imfs_fserror_SOURCES = fserror/test.c support/fstest_support.c \ |
---|
173 | support/fstest_support.h support/fstest.h \ |
---|
174 | ../psxtests/include/pmacros.h imfs_support/fs_support.c \ |
---|
175 | imfs_spupport/fs_config.h |
---|
176 | imfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fserror) \ |
---|
177 | $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support |
---|
178 | endif |
---|
179 | |
---|
180 | if TEST_imfs_fslink |
---|
181 | fs_tests += imfs_fslink |
---|
182 | fs_screens += fslink/imfs_fslink.scn |
---|
183 | imfs_fslink_SOURCES = fslink/test.c support/fstest_support.c \ |
---|
184 | support/fstest_support.h support/fstest.h \ |
---|
185 | ../psxtests/include/pmacros.h imfs_support/fs_support.c \ |
---|
186 | imfs_support/fs_config.h |
---|
187 | imfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fslink) \ |
---|
188 | $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support |
---|
189 | endif |
---|
190 | |
---|
191 | if TEST_imfs_fspatheval |
---|
192 | fs_tests += imfs_fspatheval |
---|
193 | fs_screens += fspatheval/imfs_fspatheval.scn |
---|
194 | imfs_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \ |
---|
195 | support/fstest_support.h support/fstest.h \ |
---|
196 | ../psxtests/include/pmacros.h imfs_support/fs_support.c \ |
---|
197 | imfs_support/fs_config.h |
---|
198 | imfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
199 | $(TEST_FLAGS_imfs_fspatheval) $(support_includes) $(test_includes) \ |
---|
200 | -I$(top_srcdir)/imfs_support |
---|
201 | endif |
---|
202 | |
---|
203 | if TEST_imfs_fspermission |
---|
204 | fs_tests += imfs_fspermission |
---|
205 | fs_screens += fspermission/imfs_fspermission.scn |
---|
206 | imfs_fspermission_SOURCES = fspermission/test.c \ |
---|
207 | support/fstest_support.c support/fstest_support.h support/fstest.h \ |
---|
208 | ../psxtests/include/pmacros.h imfs_support/fs_support.c \ |
---|
209 | imfs_support/fs_config.h |
---|
210 | imfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
211 | $(TEST_FLAGS_imfs_fspermission) $(support_includes) $(test_includes) \ |
---|
212 | -I$(top_srcdir)/imfs_support |
---|
213 | endif |
---|
214 | |
---|
215 | if TEST_imfs_fsrdwr |
---|
216 | fs_tests += imfs_fsrdwr |
---|
217 | fs_screens += fsrdwr/imfs_fsrdwr.scn |
---|
218 | imfs_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \ |
---|
219 | support/fstest_support.h support/fstest.h \ |
---|
220 | ../psxtests/include/pmacros.h imfs_support/fs_support.c \ |
---|
221 | imfs_support/fs_config.h |
---|
222 | imfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fsrdwr) \ |
---|
223 | $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support |
---|
224 | endif |
---|
225 | |
---|
226 | if TEST_imfs_fsscandir01 |
---|
227 | fs_tests += imfs_fsscandir01 |
---|
228 | fs_screens += fsscandir01/imfs_fsscandir01.scn |
---|
229 | imfs_fsscandir01_SOURCES = fsscandir01/init.c support/fstest_support.c \ |
---|
230 | support/fstest_support.h support/fstest.h \ |
---|
231 | ../psxtests/include/pmacros.h imfs_support/fs_support.c \ |
---|
232 | imfs_support/fs_config.h |
---|
233 | imfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
234 | $(TEST_FLAGS_imfs_fsscandir01) $(support_includes) $(test_includes) \ |
---|
235 | -I$(top_srcdir)/imfs_support |
---|
236 | endif |
---|
237 | |
---|
238 | if TEST_imfs_fssymlink |
---|
239 | fs_tests += imfs_fssymlink |
---|
240 | fs_screens += fssymlink/imfs_fssymlink.scn |
---|
241 | imfs_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \ |
---|
242 | support/fstest_support.h support/fstest.h \ |
---|
243 | ../psxtests/include/pmacros.h imfs_support/fs_support.c \ |
---|
244 | imfs_support/fs_config.h |
---|
245 | imfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fssymlink) \ |
---|
246 | $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support |
---|
247 | endif |
---|
248 | |
---|
249 | if TEST_imfs_fstime |
---|
250 | fs_tests += imfs_fstime |
---|
251 | fs_screens += fstime/imfs_fstime.scn |
---|
252 | imfs_fstime_SOURCES = fstime/test.c support/fstest_support.c \ |
---|
253 | support/fstest_support.h support/fstest.h \ |
---|
254 | ../psxtests/include/pmacros.h imfs_support/fs_support.c \ |
---|
255 | imfs_support/fs_config.h |
---|
256 | imfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fstime) \ |
---|
257 | $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support |
---|
258 | endif |
---|
259 | |
---|
260 | if TEST_jffs2_fserror |
---|
261 | fs_tests += jffs2_fserror |
---|
262 | fs_screens += fserror/jffs2_fserror.scn |
---|
263 | jffs2_fserror_SOURCES = fserror/test.c support/fstest_support.c \ |
---|
264 | support/fstest_support.h support/fstest.h \ |
---|
265 | ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ |
---|
266 | jffs2_support/fs_config.h |
---|
267 | jffs2_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fserror) \ |
---|
268 | $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support |
---|
269 | jffs2_fserror_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD) |
---|
270 | endif |
---|
271 | |
---|
272 | if TEST_jffs2_fslink |
---|
273 | fs_tests += jffs2_fslink |
---|
274 | fs_screens += fslink/jffs2_fslink.scn |
---|
275 | jffs2_fslink_SOURCES = fslink/test.c support/fstest_support.c \ |
---|
276 | support/fstest_support.h support/fstest.h \ |
---|
277 | ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ |
---|
278 | jffs2_support/fs_config.h |
---|
279 | jffs2_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fslink) \ |
---|
280 | $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support |
---|
281 | jffs2_fslink_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD) |
---|
282 | endif |
---|
283 | |
---|
284 | if TEST_jffs2_fspatheval |
---|
285 | fs_tests += jffs2_fspatheval |
---|
286 | fs_screens += fspatheval/jffs2_fspatheval.scn |
---|
287 | jffs2_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \ |
---|
288 | support/fstest_support.h support/fstest.h \ |
---|
289 | ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ |
---|
290 | jffs2_support/fs_config.h |
---|
291 | jffs2_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
292 | $(TEST_FLAGS_jffs2_fspatheval) $(support_includes) $(test_includes) \ |
---|
293 | -I$(top_srcdir)/jffs2_support |
---|
294 | jffs2_fspatheval_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD) |
---|
295 | endif |
---|
296 | |
---|
297 | if TEST_jffs2_fspermission |
---|
298 | fs_tests += jffs2_fspermission |
---|
299 | fs_screens += fspermission/jffs2_fspermission.scn |
---|
300 | jffs2_fspermission_SOURCES = fspermission/test.c \ |
---|
301 | support/fstest_support.c support/fstest_support.h support/fstest.h \ |
---|
302 | ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ |
---|
303 | jffs2_support/fs_config.h |
---|
304 | jffs2_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
305 | $(TEST_FLAGS_jffs2_fspermission) $(support_includes) $(test_includes) \ |
---|
306 | -I$(top_srcdir)/jffs2_support |
---|
307 | jffs2_fspermission_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD) |
---|
308 | endif |
---|
309 | |
---|
310 | if TEST_jffs2_fsrdwr |
---|
311 | fs_tests += jffs2_fsrdwr |
---|
312 | fs_screens += fsrdwr/jffs2_fsrdwr.scn |
---|
313 | jffs2_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \ |
---|
314 | support/fstest_support.h support/fstest.h \ |
---|
315 | ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ |
---|
316 | jffs2_support/fs_config.h |
---|
317 | jffs2_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fsrdwr) \ |
---|
318 | $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support |
---|
319 | jffs2_fsrdwr_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD) |
---|
320 | endif |
---|
321 | |
---|
322 | if TEST_jffs2_fsscandir01 |
---|
323 | fs_tests += jffs2_fsscandir01 |
---|
324 | fs_screens += fsscandir01/jffs2_fsscandir01.scn |
---|
325 | jffs2_fsscandir01_SOURCES = fsscandir01/init.c \ |
---|
326 | support/fstest_support.c support/fstest_support.h support/fstest.h \ |
---|
327 | ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ |
---|
328 | jffs2_support/fs_config.h |
---|
329 | jffs2_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
330 | $(TEST_FLAGS_jffs2_fsscandir01) $(support_includes) $(test_includes) \ |
---|
331 | -I$(top_srcdir)/jffs2_support |
---|
332 | jffs2_fsscandir01_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD) |
---|
333 | endif |
---|
334 | |
---|
335 | if TEST_jffs2_fssymlink |
---|
336 | fs_tests += jffs2_fssymlink |
---|
337 | fs_screens += fssymlink/jffs2_fssymlink.scn |
---|
338 | jffs2_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \ |
---|
339 | support/fstest_support.h support/fstest.h \ |
---|
340 | ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ |
---|
341 | jffs2_support/fs_config.h |
---|
342 | jffs2_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
343 | $(TEST_FLAGS_jffs2_fssymlink) $(support_includes) $(test_includes) \ |
---|
344 | -I$(top_srcdir)/jffs2_support |
---|
345 | jffs2_fssymlink_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD) |
---|
346 | endif |
---|
347 | |
---|
348 | if TEST_jffs2_fstime |
---|
349 | fs_tests += jffs2_fstime |
---|
350 | fs_screens += fstime/jffs2_fstime.scn |
---|
351 | jffs2_fstime_SOURCES = fstime/test.c support/fstest_support.c \ |
---|
352 | support/fstest_support.h support/fstest.h \ |
---|
353 | ../psxtests/include/pmacros.h jffs2_support/fs_support.c \ |
---|
354 | jffs2_support/fs_config.h |
---|
355 | jffs2_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fstime) \ |
---|
356 | $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support |
---|
357 | jffs2_fstime_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD) |
---|
358 | endif |
---|
359 | |
---|
360 | if TEST_mdosfs_fserror |
---|
361 | fs_tests += mdosfs_fserror |
---|
362 | fs_screens += fserror/mdosfs_fserror.scn |
---|
363 | mdosfs_fserror_SOURCES = fserror/test.c support/ramdisk_support.c \ |
---|
364 | support/fstest_support.c support/fstest_support.h \ |
---|
365 | support/ramdisk_support.h support/fstest.h \ |
---|
366 | ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ |
---|
367 | mdosfs_support/fs_config.h |
---|
368 | mdosfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fserror) \ |
---|
369 | $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support |
---|
370 | endif |
---|
371 | |
---|
372 | if TEST_mdosfs_fspatheval |
---|
373 | fs_tests += mdosfs_fspatheval |
---|
374 | fs_screens += fspatheval/mdosfs_fspatheval.scn |
---|
375 | mdosfs_fspatheval_SOURCES = fspatheval/test.c \ |
---|
376 | support/ramdisk_support.c support/fstest_support.c \ |
---|
377 | support/fstest_support.h support/ramdisk_support.h support/fstest.h \ |
---|
378 | ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ |
---|
379 | mdosfs_support/fs_config.h |
---|
380 | mdosfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
381 | $(TEST_FLAGS_mdosfs_fspatheval) $(support_includes) $(test_includes) \ |
---|
382 | -I$(top_srcdir)/mdosfs_support |
---|
383 | endif |
---|
384 | |
---|
385 | if TEST_mdosfs_fsrdwr |
---|
386 | fs_tests += mdosfs_fsrdwr |
---|
387 | fs_screens += fsrdwr/mdosfs_fsrdwr.scn |
---|
388 | mdosfs_fsrdwr_SOURCES = fsrdwr/init.c support/ramdisk_support.c \ |
---|
389 | support/fstest_support.c support/fstest_support.h \ |
---|
390 | support/ramdisk_support.h support/fstest.h \ |
---|
391 | ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ |
---|
392 | mdosfs_support/fs_config.h |
---|
393 | mdosfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fsrdwr) \ |
---|
394 | $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support |
---|
395 | endif |
---|
396 | |
---|
397 | if TEST_mdosfs_fsscandir01 |
---|
398 | fs_tests += mdosfs_fsscandir01 |
---|
399 | fs_screens += fsscandir01/mdosfs_fsscandir01.scn |
---|
400 | mdosfs_fsscandir01_SOURCES = fsscandir01/init.c \ |
---|
401 | support/ramdisk_support.c support/fstest_support.c \ |
---|
402 | support/fstest_support.h support/ramdisk_support.h support/fstest.h \ |
---|
403 | ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ |
---|
404 | mdosfs_support/fs_config.h |
---|
405 | mdosfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
406 | $(TEST_FLAGS_mdosfs_fsscandir01) $(support_includes) $(test_includes) \ |
---|
407 | -I$(top_srcdir)/mdosfs_support |
---|
408 | endif |
---|
409 | |
---|
410 | if TEST_mdosfs_fsstatvfs |
---|
411 | fs_tests += mdosfs_fsstatvfs |
---|
412 | fs_screens += fsstatvfs/mdosfs_fsstatvfs.scn |
---|
413 | mdosfs_fsstatvfs_SOURCES = fsstatvfs/test.c support/ramdisk_support.c \ |
---|
414 | support/fstest_support.c support/fstest_support.h \ |
---|
415 | support/ramdisk_support.h support/fstest.h \ |
---|
416 | ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ |
---|
417 | mdosfs_support/fs_config.h |
---|
418 | mdosfs_fsstatvfs_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
419 | $(TEST_FLAGS_mdosfs_fsstatvfs) $(support_includes) $(test_includes) \ |
---|
420 | -I$(top_srcdir)/mdosfs_support |
---|
421 | endif |
---|
422 | |
---|
423 | if TEST_mdosfs_fstime |
---|
424 | fs_tests += mdosfs_fstime |
---|
425 | mdosfs_fstime_SOURCES = fstime/test.c support/ramdisk_support.c \ |
---|
426 | support/fstest_support.c support/fstest_support.h \ |
---|
427 | support/ramdisk_support.h support/fstest.h \ |
---|
428 | ../psxtests/include/pmacros.h mdosfs_support/fs_support.c \ |
---|
429 | mdosfs_support/fs_config.h |
---|
430 | mdosfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fstime) \ |
---|
431 | $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support |
---|
432 | endif |
---|
433 | |
---|
434 | if TEST_mimfs_fserror |
---|
435 | fs_tests += mimfs_fserror |
---|
436 | fs_screens += fserror/mimfs_fserror.scn |
---|
437 | mimfs_fserror_SOURCES = fserror/test.c support/fstest_support.c \ |
---|
438 | support/fstest_support.h support/fstest.h \ |
---|
439 | ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ |
---|
440 | mimfs_support/fs_config.h |
---|
441 | mimfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fserror) \ |
---|
442 | $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support |
---|
443 | endif |
---|
444 | |
---|
445 | if TEST_mimfs_fslink |
---|
446 | fs_tests += mimfs_fslink |
---|
447 | mimfs_fslink_SOURCES = fslink/test.c support/fstest_support.c \ |
---|
448 | support/fstest_support.h support/fstest.h \ |
---|
449 | ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ |
---|
450 | mimfs_support/fs_config.h |
---|
451 | mimfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fslink) \ |
---|
452 | $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support |
---|
453 | endif |
---|
454 | |
---|
455 | if TEST_mimfs_fspatheval |
---|
456 | fs_tests += mimfs_fspatheval |
---|
457 | mimfs_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \ |
---|
458 | support/fstest_support.h support/fstest.h \ |
---|
459 | ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ |
---|
460 | mimfs_support/fs_config.h |
---|
461 | mimfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
462 | $(TEST_FLAGS_mimfs_fspatheval) $(support_includes) $(test_includes) \ |
---|
463 | -I$(top_srcdir)/mimfs_support |
---|
464 | endif |
---|
465 | |
---|
466 | if TEST_mimfs_fspermission |
---|
467 | fs_tests += mimfs_fspermission |
---|
468 | mimfs_fspermission_SOURCES = fspermission/test.c \ |
---|
469 | support/fstest_support.c support/fstest_support.h support/fstest.h \ |
---|
470 | ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ |
---|
471 | mimfs_support/fs_config.h |
---|
472 | mimfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
473 | $(TEST_FLAGS_mimfs_fspermission) $(support_includes) $(test_includes) \ |
---|
474 | -I$(top_srcdir)/mimfs_support |
---|
475 | endif |
---|
476 | |
---|
477 | if TEST_mimfs_fsrdwr |
---|
478 | fs_tests += mimfs_fsrdwr |
---|
479 | mimfs_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \ |
---|
480 | support/fstest_support.h support/fstest.h \ |
---|
481 | ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ |
---|
482 | mimfs_support/fs_config.h |
---|
483 | mimfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fsrdwr) \ |
---|
484 | $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support |
---|
485 | endif |
---|
486 | |
---|
487 | if TEST_mimfs_fsrename |
---|
488 | fs_tests += mimfs_fsrename |
---|
489 | fs_screens += fsrename/mimfs_fsrename.scn |
---|
490 | mimfs_fsrename_SOURCES = fsrename/test.c support/fstest_support.c \ |
---|
491 | support/fstest_support.h support/fstest.h \ |
---|
492 | ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ |
---|
493 | mimfs_support/fs_config.h |
---|
494 | mimfs_fsrename_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fsrename) \ |
---|
495 | $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support |
---|
496 | endif |
---|
497 | |
---|
498 | if TEST_mimfs_fsscandir01 |
---|
499 | fs_tests += mimfs_fsscandir01 |
---|
500 | mimfs_fsscandir01_SOURCES = fsscandir01/init.c \ |
---|
501 | support/fstest_support.c support/fstest_support.h support/fstest.h \ |
---|
502 | ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ |
---|
503 | mimfs_support/fs_config.h |
---|
504 | mimfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
505 | $(TEST_FLAGS_mimfs_fsscandir01) $(support_includes) $(test_includes) \ |
---|
506 | -I$(top_srcdir)/mimfs_support |
---|
507 | endif |
---|
508 | |
---|
509 | if TEST_mimfs_fssymlink |
---|
510 | fs_tests += mimfs_fssymlink |
---|
511 | mimfs_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \ |
---|
512 | support/fstest_support.h support/fstest.h \ |
---|
513 | ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ |
---|
514 | mimfs_support/fs_config.h |
---|
515 | mimfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
516 | $(TEST_FLAGS_mimfs_fssymlink) $(support_includes) $(test_includes) \ |
---|
517 | -I$(top_srcdir)/mimfs_support |
---|
518 | endif |
---|
519 | |
---|
520 | if TEST_mimfs_fstime |
---|
521 | fs_tests += mimfs_fstime |
---|
522 | mimfs_fstime_SOURCES = fstime/test.c support/fstest_support.c \ |
---|
523 | support/fstest_support.h support/fstest.h \ |
---|
524 | ../psxtests/include/pmacros.h mimfs_support/fs_support.c \ |
---|
525 | mimfs_support/fs_config.h |
---|
526 | mimfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fstime) \ |
---|
527 | $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support |
---|
528 | endif |
---|
529 | |
---|
530 | if TEST_mrfs_fserror |
---|
531 | fs_tests += mrfs_fserror |
---|
532 | fs_screens += fserror/mrfs_fserror.scn |
---|
533 | mrfs_fserror_SOURCES = fserror/test.c support/ramdisk_support.c \ |
---|
534 | support/fstest_support.c support/fstest_support.h \ |
---|
535 | support/ramdisk_support.h support/fstest.h \ |
---|
536 | ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ |
---|
537 | mrfs_support/fs_config.h |
---|
538 | mrfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fserror) \ |
---|
539 | $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support |
---|
540 | endif |
---|
541 | |
---|
542 | if TEST_mrfs_fsfpathconf |
---|
543 | fs_tests += mrfs_fsfpathconf |
---|
544 | fs_screens += fsfpathconf/mrfs_fsfpathconf.scn |
---|
545 | mrfs_fsfpathconf_SOURCES = fsfpathconf/test.c \ |
---|
546 | support/ramdisk_support.c support/fstest_support.c \ |
---|
547 | support/fstest_support.h support/ramdisk_support.h support/fstest.h \ |
---|
548 | ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ |
---|
549 | mrfs_support/fs_config.h |
---|
550 | mrfs_fsfpathconf_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
551 | $(TEST_FLAGS_mrfs_fsfpathconf) $(support_includes) $(test_includes) \ |
---|
552 | -I$(top_srcdir)/mrfs_support |
---|
553 | endif |
---|
554 | |
---|
555 | if TEST_mrfs_fslink |
---|
556 | fs_tests += mrfs_fslink |
---|
557 | fs_screens += fslink/mrfs_fslink.scn |
---|
558 | mrfs_fslink_SOURCES = fslink/test.c support/ramdisk_support.c \ |
---|
559 | support/fstest_support.c support/fstest_support.h \ |
---|
560 | support/ramdisk_support.h support/fstest.h \ |
---|
561 | ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ |
---|
562 | mrfs_support/fs_config.h |
---|
563 | mrfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fslink) \ |
---|
564 | $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support |
---|
565 | endif |
---|
566 | |
---|
567 | if TEST_mrfs_fspatheval |
---|
568 | fs_tests += mrfs_fspatheval |
---|
569 | fs_screens += fspatheval/mrfs_fspatheval.scn |
---|
570 | mrfs_fspatheval_SOURCES = fspatheval/test.c support/ramdisk_support.c \ |
---|
571 | support/fstest_support.c support/fstest_support.h \ |
---|
572 | support/ramdisk_support.h support/fstest.h \ |
---|
573 | ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ |
---|
574 | mrfs_support/fs_config.h |
---|
575 | mrfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
576 | $(TEST_FLAGS_mrfs_fspatheval) $(support_includes) $(test_includes) \ |
---|
577 | -I$(top_srcdir)/mrfs_support |
---|
578 | endif |
---|
579 | |
---|
580 | if TEST_mrfs_fspermission |
---|
581 | fs_tests += mrfs_fspermission |
---|
582 | fs_screens += fspermission/mrfs_fspermission.scn |
---|
583 | mrfs_fspermission_SOURCES = fspermission/test.c \ |
---|
584 | support/ramdisk_support.c support/fstest_support.c \ |
---|
585 | support/fstest_support.h support/ramdisk_support.h support/fstest.h \ |
---|
586 | ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ |
---|
587 | mrfs_support/fs_config.h |
---|
588 | mrfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
589 | $(TEST_FLAGS_mrfs_fspermission) $(support_includes) $(test_includes) \ |
---|
590 | -I$(top_srcdir)/mrfs_support |
---|
591 | endif |
---|
592 | |
---|
593 | if TEST_mrfs_fsrdwr |
---|
594 | fs_tests += mrfs_fsrdwr |
---|
595 | fs_screens += fsrdwr/mrfs_fsrdwr.scn |
---|
596 | mrfs_fsrdwr_SOURCES = fsrdwr/init.c support/ramdisk_support.c \ |
---|
597 | support/fstest_support.c support/fstest_support.h \ |
---|
598 | support/ramdisk_support.h support/fstest.h \ |
---|
599 | ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ |
---|
600 | mrfs_support/fs_config.h |
---|
601 | mrfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fsrdwr) \ |
---|
602 | $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support |
---|
603 | endif |
---|
604 | |
---|
605 | if TEST_mrfs_fsscandir01 |
---|
606 | fs_tests += mrfs_fsscandir01 |
---|
607 | fs_screens += fsscandir01/mrfs_fsscandir01.scn |
---|
608 | mrfs_fsscandir01_SOURCES = fsscandir01/init.c \ |
---|
609 | support/ramdisk_support.c support/fstest_support.c \ |
---|
610 | support/fstest_support.h support/ramdisk_support.h support/fstest.h \ |
---|
611 | ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ |
---|
612 | mrfs_support/fs_config.h |
---|
613 | mrfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \ |
---|
614 | $(TEST_FLAGS_mrfs_fsscandir01) $(support_includes) $(test_includes) \ |
---|
615 | -I$(top_srcdir)/mrfs_support |
---|
616 | endif |
---|
617 | |
---|
618 | if TEST_mrfs_fssymlink |
---|
619 | fs_tests += mrfs_fssymlink |
---|
620 | fs_screens += fssymlink/mrfs_fssymlink.scn |
---|
621 | mrfs_fssymlink_SOURCES = fssymlink/test.c support/ramdisk_support.c \ |
---|
622 | support/fstest_support.c support/fstest_support.h \ |
---|
623 | support/ramdisk_support.h support/fstest.h \ |
---|
624 | ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ |
---|
625 | mrfs_support/fs_config.h |
---|
626 | mrfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fssymlink) \ |
---|
627 | $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support |
---|
628 | endif |
---|
629 | |
---|
630 | if TEST_mrfs_fstime |
---|
631 | fs_tests += mrfs_fstime |
---|
632 | fs_screens += fstime/mrfs_fstime.scn |
---|
633 | mrfs_fstime_SOURCES = fstime/test.c support/ramdisk_support.c \ |
---|
634 | support/fstest_support.c support/fstest_support.h \ |
---|
635 | support/ramdisk_support.h support/fstest.h \ |
---|
636 | ../psxtests/include/pmacros.h mrfs_support/fs_support.c \ |
---|
637 | mrfs_support/fs_config.h |
---|
638 | mrfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fstime) \ |
---|
639 | $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support |
---|
640 | endif |
---|
641 | |
---|
642 | noinst_PROGRAMS = $(fs_tests) |
---|