source: rtems/testsuites/fstests/Makefile.am @ b88c7583

5
Last change on this file since b88c7583 was b88c7583, checked in by Sebastian Huber <sebastian.huber@…>, on 11/11/19 at 13:24:45

fstests: Use tmacros.h instead of pmacros.h

This avoids an extra include path.

Update #3818.

  • Property mode set to 100644
File size: 23.3 KB
Line 
1#
2# File System Testsuite
3#
4
5ACLOCAL_AMFLAGS = -I ../aclocal
6
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
8include $(top_srcdir)/../automake/compile.am
9
10fs_tests =
11fs_screens =
12fs_docs =
13
14support_includes = -I$(top_srcdir)/../support/include
15test_includes = -I$(top_srcdir)/support
16
17if TEST_fsbdpart01
18fs_tests += fsbdpart01
19fs_screens += fsbdpart01/fsbdpart01.scn
20fs_docs += fsbdpart01/fsbdpart01.doc
21fsbdpart01_SOURCES = fsbdpart01/init.c
22fsbdpart01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsbdpart01) \
23        $(support_includes)
24endif
25
26if TEST_fsclose01
27fs_tests += fsclose01
28fs_screens += fsclose01/fsclose01.scn
29fs_docs += fsclose01/fsclose01.doc
30fsclose01_SOURCES = fsclose01/init.c
31fsclose01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsclose01) \
32        $(support_includes)
33endif
34
35if TEST_fsdosfsformat01
36fs_tests += fsdosfsformat01
37fs_screens += fsdosfsformat01/fsdosfsformat01.scn
38fs_docs += fsdosfsformat01/fsdosfsformat01.doc
39fsdosfsformat01_SOURCES = fsdosfsformat01/init.c
40fsdosfsformat01_CPPFLAGS = $(AM_CPPFLAGS) \
41        $(TEST_FLAGS_fsdosfsformat01) $(support_includes)
42endif
43
44if TEST_fsdosfsname01
45fs_tests += fsdosfsname01
46fs_screens += fsdosfsname01/fsdosfsname01.scn
47fs_docs += fsdosfsname01/fsdosfsname01.doc
48fsdosfsname01_SOURCES = fsdosfsname01/init.c support/ramdisk_support.c
49fsdosfsname01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfsname01) \
50        $(support_includes) $(test_includes)
51endif
52
53if TEST_fsdosfsname02
54fs_tests += fsdosfsname02
55fs_screens += fsdosfsname02/fsdosfsname02.scn
56fs_docs += fsdosfsname02/fsdosfsname02.doc
57fsdosfsname02_SOURCES = fsdosfsname02/init.c
58fsdosfsname02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfsname02) \
59        $(support_includes)
60endif
61
62if TEST_fsdosfssync01
63fs_tests += fsdosfssync01
64fs_screens += fsdosfssync01/fsdosfssync01.scn
65fs_docs += fsdosfssync01/fsdosfssync01.doc
66fsdosfssync01_SOURCES = fsdosfssync01/init.c
67fsdosfssync01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfssync01) \
68        $(support_includes)
69endif
70
71if TEST_fsdosfswrite01
72fs_tests += fsdosfswrite01
73fs_screens += fsdosfswrite01/fsdosfswrite01.scn
74fs_docs += fsdosfswrite01/fsdosfswrite01.doc
75fsdosfswrite01_SOURCES = fsdosfswrite01/init.c
76fsdosfswrite01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfswrite01) \
77        $(support_includes)
78endif
79
80if TEST_fsfseeko01
81fs_tests += fsfseeko01
82fs_screens += fsfseeko01/fsfseeko01.scn
83fs_docs += fsfseeko01/fsfseeko01.doc
84fsfseeko01_SOURCES = fsfseeko01/init.c
85fsfseeko01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsfseeko01) \
86        $(support_includes)
87endif
88
89if TEST_fsimfsconfig01
90fs_tests += fsimfsconfig01
91fs_screens += fsimfsconfig01/fsimfsconfig01.scn
92fs_docs += fsimfsconfig01/fsimfsconfig01.doc
93fsimfsconfig01_SOURCES = fsimfsconfig01/init.c
94fsimfsconfig01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig01) \
95        $(support_includes)
96endif
97
98if TEST_fsimfsconfig02
99fs_tests += fsimfsconfig02
100fs_screens += fsimfsconfig02/fsimfsconfig02.scn
101fs_docs += fsimfsconfig02/fsimfsconfig02.doc
102fsimfsconfig02_SOURCES = fsimfsconfig02/init.c
103fsimfsconfig02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig02) \
104        $(support_includes)
105endif
106
107if TEST_fsimfsconfig03
108fs_tests += fsimfsconfig03
109fs_screens += fsimfsconfig03/fsimfsconfig03.scn
110fs_docs += fsimfsconfig03/fsimfsconfig03.doc
111fsimfsconfig03_SOURCES = fsimfsconfig03/init.c
112fsimfsconfig03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig03) \
113        $(support_includes)
114endif
115
116if TEST_fsimfsgeneric01
117fs_tests += fsimfsgeneric01
118fs_screens += fsimfsgeneric01/fsimfsgeneric01.scn
119fs_docs += fsimfsgeneric01/fsimfsgeneric01.doc
120fsimfsgeneric01_SOURCES = fsimfsgeneric01/init.c
121fsimfsgeneric01_CPPFLAGS = $(AM_CPPFLAGS) \
122        $(TEST_FLAGS_fsimfsgeneric01) $(support_includes)
123endif
124
125if TEST_fsjffs2gc01
126fs_tests += fsjffs2gc01
127fs_screens += fsjffs2gc01/fsjffs2gc01.scn
128fs_docs += fsjffs2gc01/fsjffs2gc01.doc
129fsjffs2gc01_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
133fsjffs2gc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsjffs2gc01) \
134        $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
135fsjffs2gc01_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
136endif
137
138if TEST_fsnofs01
139fs_tests += fsnofs01
140fs_screens += fsnofs01/fsnofs01.scn
141fs_docs += fsnofs01/fsnofs01.doc
142fsnofs01_SOURCES = fsnofs01/init.c
143fsnofs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsnofs01) \
144        $(support_includes)
145endif
146
147if TEST_fsrfsbitmap01
148fs_tests += fsrfsbitmap01
149fs_screens += fsrfsbitmap01/fsrfsbitmap01.scn
150fs_docs += fsrfsbitmap01/fsrfsbitmap01.doc
151fsrfsbitmap01_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
156fsrfsbitmap01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsrfsbitmap01) \
157        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
158endif
159
160if TEST_fsrofs01
161fs_tests += fsrofs01
162fs_screens += fsrofs01/fsrofs01.scn
163fs_docs += fsrofs01/fsrofs01.doc
164fsrofs01_SOURCES = fsrofs01/init.c
165fsrofs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsrofs01) \
166        $(support_includes)
167endif
168
169if TEST_imfs_fserror
170fs_tests += imfs_fserror
171fs_screens += fserror/imfs_fserror.scn
172imfs_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
176imfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fserror) \
177        $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
178endif
179
180if TEST_imfs_fslink
181fs_tests += imfs_fslink
182fs_screens += fslink/imfs_fslink.scn
183imfs_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
187imfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fslink) \
188        $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
189endif
190
191if TEST_imfs_fspatheval
192fs_tests += imfs_fspatheval
193fs_screens += fspatheval/imfs_fspatheval.scn
194imfs_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
198imfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
199        $(TEST_FLAGS_imfs_fspatheval) $(support_includes) $(test_includes) \
200        -I$(top_srcdir)/imfs_support
201endif
202
203if TEST_imfs_fspermission
204fs_tests += imfs_fspermission
205fs_screens += fspermission/imfs_fspermission.scn
206imfs_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
210imfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
211        $(TEST_FLAGS_imfs_fspermission) $(support_includes) $(test_includes) \
212        -I$(top_srcdir)/imfs_support
213endif
214
215if TEST_imfs_fsrdwr
216fs_tests += imfs_fsrdwr
217fs_screens += fsrdwr/imfs_fsrdwr.scn
218imfs_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
222imfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fsrdwr) \
223        $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
224endif
225
226if TEST_imfs_fsscandir01
227fs_tests += imfs_fsscandir01
228fs_screens += fsscandir01/imfs_fsscandir01.scn
229imfs_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
233imfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
234        $(TEST_FLAGS_imfs_fsscandir01) $(support_includes) $(test_includes) \
235        -I$(top_srcdir)/imfs_support
236endif
237
238if TEST_imfs_fssymlink
239fs_tests += imfs_fssymlink
240fs_screens += fssymlink/imfs_fssymlink.scn
241imfs_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
245imfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fssymlink) \
246        $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
247endif
248
249if TEST_imfs_fstime
250fs_tests += imfs_fstime
251fs_screens += fstime/imfs_fstime.scn
252imfs_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
256imfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fstime) \
257        $(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
258endif
259
260if TEST_jffs2_fserror
261fs_tests += jffs2_fserror
262fs_screens += fserror/jffs2_fserror.scn
263jffs2_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
267jffs2_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fserror) \
268        $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
269jffs2_fserror_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
270endif
271
272if TEST_jffs2_fslink
273fs_tests += jffs2_fslink
274fs_screens += fslink/jffs2_fslink.scn
275jffs2_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
279jffs2_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fslink) \
280        $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
281jffs2_fslink_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
282endif
283
284if TEST_jffs2_fspatheval
285fs_tests += jffs2_fspatheval
286fs_screens += fspatheval/jffs2_fspatheval.scn
287jffs2_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
291jffs2_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
292        $(TEST_FLAGS_jffs2_fspatheval) $(support_includes) $(test_includes) \
293        -I$(top_srcdir)/jffs2_support
294jffs2_fspatheval_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
295endif
296
297if TEST_jffs2_fspermission
298fs_tests += jffs2_fspermission
299fs_screens += fspermission/jffs2_fspermission.scn
300jffs2_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
304jffs2_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
305        $(TEST_FLAGS_jffs2_fspermission) $(support_includes) $(test_includes) \
306        -I$(top_srcdir)/jffs2_support
307jffs2_fspermission_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
308endif
309
310if TEST_jffs2_fsrdwr
311fs_tests += jffs2_fsrdwr
312fs_screens += fsrdwr/jffs2_fsrdwr.scn
313jffs2_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
317jffs2_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fsrdwr) \
318        $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
319jffs2_fsrdwr_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
320endif
321
322if TEST_jffs2_fsscandir01
323fs_tests += jffs2_fsscandir01
324fs_screens += fsscandir01/jffs2_fsscandir01.scn
325jffs2_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
329jffs2_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
330        $(TEST_FLAGS_jffs2_fsscandir01) $(support_includes) $(test_includes) \
331        -I$(top_srcdir)/jffs2_support
332jffs2_fsscandir01_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
333endif
334
335if TEST_jffs2_fssymlink
336fs_tests += jffs2_fssymlink
337fs_screens += fssymlink/jffs2_fssymlink.scn
338jffs2_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
342jffs2_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) \
343        $(TEST_FLAGS_jffs2_fssymlink) $(support_includes) $(test_includes) \
344        -I$(top_srcdir)/jffs2_support
345jffs2_fssymlink_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
346endif
347
348if TEST_jffs2_fstime
349fs_tests += jffs2_fstime
350fs_screens += fstime/jffs2_fstime.scn
351jffs2_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
355jffs2_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fstime) \
356        $(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
357jffs2_fstime_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
358endif
359
360if TEST_mdosfs_fserror
361fs_tests += mdosfs_fserror
362fs_screens += fserror/mdosfs_fserror.scn
363mdosfs_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
368mdosfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fserror) \
369        $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support
370endif
371
372if TEST_mdosfs_fspatheval
373fs_tests += mdosfs_fspatheval
374fs_screens += fspatheval/mdosfs_fspatheval.scn
375mdosfs_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
380mdosfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
381        $(TEST_FLAGS_mdosfs_fspatheval) $(support_includes) $(test_includes) \
382        -I$(top_srcdir)/mdosfs_support
383endif
384
385if TEST_mdosfs_fsrdwr
386fs_tests += mdosfs_fsrdwr
387fs_screens += fsrdwr/mdosfs_fsrdwr.scn
388mdosfs_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
393mdosfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fsrdwr) \
394        $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support
395endif
396
397if TEST_mdosfs_fsscandir01
398fs_tests += mdosfs_fsscandir01
399fs_screens += fsscandir01/mdosfs_fsscandir01.scn
400mdosfs_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
405mdosfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
406        $(TEST_FLAGS_mdosfs_fsscandir01) $(support_includes) $(test_includes) \
407        -I$(top_srcdir)/mdosfs_support
408endif
409
410if TEST_mdosfs_fsstatvfs
411fs_tests += mdosfs_fsstatvfs
412fs_screens += fsstatvfs/mdosfs_fsstatvfs.scn
413mdosfs_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
418mdosfs_fsstatvfs_CPPFLAGS = $(AM_CPPFLAGS) \
419        $(TEST_FLAGS_mdosfs_fsstatvfs) $(support_includes) $(test_includes) \
420        -I$(top_srcdir)/mdosfs_support
421endif
422
423if TEST_mdosfs_fstime
424fs_tests += mdosfs_fstime
425mdosfs_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
430mdosfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fstime) \
431        $(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support
432endif
433
434if TEST_mimfs_fserror
435fs_tests += mimfs_fserror
436fs_screens += fserror/mimfs_fserror.scn
437mimfs_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
441mimfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fserror) \
442        $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
443endif
444
445if TEST_mimfs_fslink
446fs_tests += mimfs_fslink
447mimfs_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
451mimfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fslink) \
452        $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
453endif
454
455if TEST_mimfs_fspatheval
456fs_tests += mimfs_fspatheval
457mimfs_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
461mimfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
462        $(TEST_FLAGS_mimfs_fspatheval) $(support_includes) $(test_includes) \
463        -I$(top_srcdir)/mimfs_support
464endif
465
466if TEST_mimfs_fspermission
467fs_tests += mimfs_fspermission
468mimfs_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
472mimfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
473        $(TEST_FLAGS_mimfs_fspermission) $(support_includes) $(test_includes) \
474        -I$(top_srcdir)/mimfs_support
475endif
476
477if TEST_mimfs_fsrdwr
478fs_tests += mimfs_fsrdwr
479mimfs_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
483mimfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fsrdwr) \
484        $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
485endif
486
487if TEST_mimfs_fsrename
488fs_tests += mimfs_fsrename
489fs_screens += fsrename/mimfs_fsrename.scn
490mimfs_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
494mimfs_fsrename_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fsrename) \
495        $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
496endif
497
498if TEST_mimfs_fsscandir01
499fs_tests += mimfs_fsscandir01
500mimfs_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
504mimfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
505        $(TEST_FLAGS_mimfs_fsscandir01) $(support_includes) $(test_includes) \
506        -I$(top_srcdir)/mimfs_support
507endif
508
509if TEST_mimfs_fssymlink
510fs_tests += mimfs_fssymlink
511mimfs_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
515mimfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) \
516        $(TEST_FLAGS_mimfs_fssymlink) $(support_includes) $(test_includes) \
517        -I$(top_srcdir)/mimfs_support
518endif
519
520if TEST_mimfs_fstime
521fs_tests += mimfs_fstime
522mimfs_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
526mimfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fstime) \
527        $(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
528endif
529
530if TEST_mrfs_fserror
531fs_tests += mrfs_fserror
532fs_screens += fserror/mrfs_fserror.scn
533mrfs_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
538mrfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fserror) \
539        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
540endif
541
542if TEST_mrfs_fsfpathconf
543fs_tests += mrfs_fsfpathconf
544fs_screens += fsfpathconf/mrfs_fsfpathconf.scn
545mrfs_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
550mrfs_fsfpathconf_CPPFLAGS = $(AM_CPPFLAGS) \
551        $(TEST_FLAGS_mrfs_fsfpathconf) $(support_includes) $(test_includes) \
552        -I$(top_srcdir)/mrfs_support
553endif
554
555if TEST_mrfs_fslink
556fs_tests += mrfs_fslink
557fs_screens += fslink/mrfs_fslink.scn
558mrfs_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
563mrfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fslink) \
564        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
565endif
566
567if TEST_mrfs_fspatheval
568fs_tests += mrfs_fspatheval
569fs_screens += fspatheval/mrfs_fspatheval.scn
570mrfs_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
575mrfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
576        $(TEST_FLAGS_mrfs_fspatheval) $(support_includes) $(test_includes) \
577        -I$(top_srcdir)/mrfs_support
578endif
579
580if TEST_mrfs_fspermission
581fs_tests += mrfs_fspermission
582fs_screens += fspermission/mrfs_fspermission.scn
583mrfs_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
588mrfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
589        $(TEST_FLAGS_mrfs_fspermission) $(support_includes) $(test_includes) \
590        -I$(top_srcdir)/mrfs_support
591endif
592
593if TEST_mrfs_fsrdwr
594fs_tests += mrfs_fsrdwr
595fs_screens += fsrdwr/mrfs_fsrdwr.scn
596mrfs_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
601mrfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fsrdwr) \
602        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
603endif
604
605if TEST_mrfs_fsscandir01
606fs_tests += mrfs_fsscandir01
607fs_screens += fsscandir01/mrfs_fsscandir01.scn
608mrfs_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
613mrfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
614        $(TEST_FLAGS_mrfs_fsscandir01) $(support_includes) $(test_includes) \
615        -I$(top_srcdir)/mrfs_support
616endif
617
618if TEST_mrfs_fssymlink
619fs_tests += mrfs_fssymlink
620fs_screens += fssymlink/mrfs_fssymlink.scn
621mrfs_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
626mrfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fssymlink) \
627        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
628endif
629
630if TEST_mrfs_fstime
631fs_tests += mrfs_fstime
632fs_screens += fstime/mrfs_fstime.scn
633mrfs_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
638mrfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fstime) \
639        $(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
640endif
641
642noinst_PROGRAMS = $(fs_tests)
Note: See TracBrowser for help on using the repository browser.