summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/Makefile.am
blob: 81ce635dd7ec11774f41c393834b0d38c38bae2a (plain) (blame)
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
#
# File System Testsuite
#

ACLOCAL_AMFLAGS = -I ../aclocal

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am

fs_tests =
fs_screens =
fs_docs =

support_includes = -I$(top_srcdir)/../support/include
test_includes = -I$(top_srcdir)/support \
	-I$(top_srcdir)/../psxtests/include

if TEST_fsbdpart01
fs_tests += fsbdpart01
fs_screens += fsbdpart01/fsbdpart01.scn
fs_docs += fsbdpart01/fsbdpart01.doc
fsbdpart01_SOURCES = fsbdpart01/init.c
fsbdpart01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsbdpart01) \
	$(support_includes)
endif

if TEST_fsclose01
fs_tests += fsclose01
fs_screens += fsclose01/fsclose01.scn
fs_docs += fsclose01/fsclose01.doc
fsclose01_SOURCES = fsclose01/init.c
fsclose01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsclose01) \
	$(support_includes)
endif

if TEST_fsdosfsformat01
fs_tests += fsdosfsformat01
fs_screens += fsdosfsformat01/fsdosfsformat01.scn
fs_docs += fsdosfsformat01/fsdosfsformat01.doc
fsdosfsformat01_SOURCES = fsdosfsformat01/init.c
fsdosfsformat01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_fsdosfsformat01) $(support_includes)
endif

if TEST_fsdosfsname01
fs_tests += fsdosfsname01
fs_screens += fsdosfsname01/fsdosfsname01.scn
fs_docs += fsdosfsname01/fsdosfsname01.doc
fsdosfsname01_SOURCES = fsdosfsname01/init.c support/ramdisk_support.c
fsdosfsname01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfsname01) \
	$(support_includes) $(test_includes)
endif

if TEST_fsdosfsname02
fs_tests += fsdosfsname02
fs_screens += fsdosfsname02/fsdosfsname02.scn
fs_docs += fsdosfsname02/fsdosfsname02.doc
fsdosfsname02_SOURCES = fsdosfsname02/init.c
fsdosfsname02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfsname02) \
	$(support_includes)
endif

if TEST_fsdosfssync01
fs_tests += fsdosfssync01
fs_screens += fsdosfssync01/fsdosfssync01.scn
fs_docs += fsdosfssync01/fsdosfssync01.doc
fsdosfssync01_SOURCES = fsdosfssync01/init.c
fsdosfssync01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfssync01) \
	$(support_includes)
endif

if TEST_fsdosfswrite01
fs_tests += fsdosfswrite01
fs_screens += fsdosfswrite01/fsdosfswrite01.scn
fs_docs += fsdosfswrite01/fsdosfswrite01.doc
fsdosfswrite01_SOURCES = fsdosfswrite01/init.c
fsdosfswrite01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsdosfswrite01) \
	$(support_includes)
endif

if TEST_fsfseeko01
fs_tests += fsfseeko01
fs_screens += fsfseeko01/fsfseeko01.scn
fs_docs += fsfseeko01/fsfseeko01.doc
fsfseeko01_SOURCES = fsfseeko01/init.c
fsfseeko01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsfseeko01) \
	$(support_includes)
endif

if TEST_fsimfsconfig01
fs_tests += fsimfsconfig01
fs_screens += fsimfsconfig01/fsimfsconfig01.scn
fs_docs += fsimfsconfig01/fsimfsconfig01.doc
fsimfsconfig01_SOURCES = fsimfsconfig01/init.c
fsimfsconfig01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig01) \
	$(support_includes)
endif

if TEST_fsimfsconfig02
fs_tests += fsimfsconfig02
fs_screens += fsimfsconfig02/fsimfsconfig02.scn
fs_docs += fsimfsconfig02/fsimfsconfig02.doc
fsimfsconfig02_SOURCES = fsimfsconfig02/init.c
fsimfsconfig02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig02) \
	$(support_includes)
endif

if TEST_fsimfsconfig03
fs_tests += fsimfsconfig03
fs_screens += fsimfsconfig03/fsimfsconfig03.scn
fs_docs += fsimfsconfig03/fsimfsconfig03.doc
fsimfsconfig03_SOURCES = fsimfsconfig03/init.c
fsimfsconfig03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsimfsconfig03) \
	$(support_includes)
endif

if TEST_fsimfsgeneric01
fs_tests += fsimfsgeneric01
fs_screens += fsimfsgeneric01/fsimfsgeneric01.scn
fs_docs += fsimfsgeneric01/fsimfsgeneric01.doc
fsimfsgeneric01_SOURCES = fsimfsgeneric01/init.c
fsimfsgeneric01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_fsimfsgeneric01) $(support_includes)
endif

if TEST_fsjffs2gc01
fs_tests += fsjffs2gc01
fs_screens += fsjffs2gc01/fsjffs2gc01.scn
fs_docs += fsjffs2gc01/fsjffs2gc01.doc
fsjffs2gc01_SOURCES = fsjffs2gc01/init.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h jffs2_support/fs_support.c \
	jffs2_support/fs_config.h
fsjffs2gc01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsjffs2gc01) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
fsjffs2gc01_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
endif

if TEST_fsnofs01
fs_tests += fsnofs01
fs_screens += fsnofs01/fsnofs01.scn
fs_docs += fsnofs01/fsnofs01.doc
fsnofs01_SOURCES = fsnofs01/init.c
fsnofs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsnofs01) \
	$(support_includes)
endif

if TEST_fsrfsbitmap01
fs_tests += fsrfsbitmap01
fs_screens += fsrfsbitmap01/fsrfsbitmap01.scn
fs_docs += fsrfsbitmap01/fsrfsbitmap01.doc
fsrfsbitmap01_SOURCES = fsrfsbitmap01/test.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mrfs_support/fs_support.c \
	mrfs_support/fs_config.h
fsrfsbitmap01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsrfsbitmap01) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
endif

if TEST_fsrofs01
fs_tests += fsrofs01
fs_screens += fsrofs01/fsrofs01.scn
fs_docs += fsrofs01/fsrofs01.doc
fsrofs01_SOURCES = fsrofs01/init.c
fsrofs01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_fsrofs01) \
	$(support_includes)
endif

if TEST_imfs_fserror
fs_tests += imfs_fserror
fs_screens += fserror/imfs_fserror.scn
imfs_fserror_SOURCES = fserror/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h imfs_support/fs_support.c \
	imfs_spupport/fs_config.h
imfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fserror) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
endif

if TEST_imfs_fslink
fs_tests += imfs_fslink
fs_screens += fslink/imfs_fslink.scn
imfs_fslink_SOURCES = fslink/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h imfs_support/fs_support.c \
	imfs_support/fs_config.h
imfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fslink) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
endif

if TEST_imfs_fspatheval
fs_tests += imfs_fspatheval
fs_screens += fspatheval/imfs_fspatheval.scn
imfs_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h imfs_support/fs_support.c \
	imfs_support/fs_config.h
imfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_imfs_fspatheval) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/imfs_support
endif

if TEST_imfs_fspermission
fs_tests += imfs_fspermission
fs_screens += fspermission/imfs_fspermission.scn
imfs_fspermission_SOURCES = fspermission/test.c \
	support/fstest_support.c support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h imfs_support/fs_support.c \
	imfs_support/fs_config.h
imfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_imfs_fspermission) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/imfs_support
endif

if TEST_imfs_fsrdwr
fs_tests += imfs_fsrdwr
fs_screens += fsrdwr/imfs_fsrdwr.scn
imfs_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h imfs_support/fs_support.c \
	imfs_support/fs_config.h
imfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fsrdwr) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
endif

if TEST_imfs_fsscandir01
fs_tests += imfs_fsscandir01
fs_screens += fsscandir01/imfs_fsscandir01.scn
imfs_fsscandir01_SOURCES = fsscandir01/init.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h imfs_support/fs_support.c \
	imfs_support/fs_config.h
imfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_imfs_fsscandir01) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/imfs_support
endif

if TEST_imfs_fssymlink
fs_tests += imfs_fssymlink
fs_screens += fssymlink/imfs_fssymlink.scn
imfs_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h imfs_support/fs_support.c \
	imfs_support/fs_config.h
imfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fssymlink) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
endif

if TEST_imfs_fstime
fs_tests += imfs_fstime
fs_screens += fstime/imfs_fstime.scn
imfs_fstime_SOURCES = fstime/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h imfs_support/fs_support.c \
	imfs_support/fs_config.h
imfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_imfs_fstime) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/imfs_support
endif

if TEST_jffs2_fserror
fs_tests += jffs2_fserror
fs_screens += fserror/jffs2_fserror.scn
jffs2_fserror_SOURCES = fserror/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h jffs2_support/fs_support.c \
	jffs2_support/fs_config.h
jffs2_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fserror) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
jffs2_fserror_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
endif

if TEST_jffs2_fslink
fs_tests += jffs2_fslink
fs_screens += fslink/jffs2_fslink.scn
jffs2_fslink_SOURCES = fslink/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h jffs2_support/fs_support.c \
	jffs2_support/fs_config.h
jffs2_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fslink) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
jffs2_fslink_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
endif

if TEST_jffs2_fspatheval
fs_tests += jffs2_fspatheval
fs_screens += fspatheval/jffs2_fspatheval.scn
jffs2_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h jffs2_support/fs_support.c \
	jffs2_support/fs_config.h
jffs2_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_jffs2_fspatheval) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/jffs2_support
jffs2_fspatheval_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
endif

if TEST_jffs2_fspermission
fs_tests += jffs2_fspermission
fs_screens += fspermission/jffs2_fspermission.scn
jffs2_fspermission_SOURCES = fspermission/test.c \
	support/fstest_support.c support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h jffs2_support/fs_support.c \
	jffs2_support/fs_config.h
jffs2_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_jffs2_fspermission) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/jffs2_support
jffs2_fspermission_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
endif

if TEST_jffs2_fsrdwr
fs_tests += jffs2_fsrdwr
fs_screens += fsrdwr/jffs2_fsrdwr.scn
jffs2_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h jffs2_support/fs_support.c \
	jffs2_support/fs_config.h
jffs2_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fsrdwr) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
jffs2_fsrdwr_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
endif

if TEST_jffs2_fsscandir01
fs_tests += jffs2_fsscandir01
fs_screens += fsscandir01/jffs2_fsscandir01.scn
jffs2_fsscandir01_SOURCES = fsscandir01/init.c \
	support/fstest_support.c support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h jffs2_support/fs_support.c \
	jffs2_support/fs_config.h
jffs2_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_jffs2_fsscandir01) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/jffs2_support
jffs2_fsscandir01_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
endif

if TEST_jffs2_fssymlink
fs_tests += jffs2_fssymlink
fs_screens += fssymlink/jffs2_fssymlink.scn
jffs2_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h jffs2_support/fs_support.c \
	jffs2_support/fs_config.h
jffs2_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_jffs2_fssymlink) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/jffs2_support
jffs2_fssymlink_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
endif

if TEST_jffs2_fstime
fs_tests += jffs2_fstime
fs_screens += fstime/jffs2_fstime.scn
jffs2_fstime_SOURCES = fstime/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h jffs2_support/fs_support.c \
	jffs2_support/fs_config.h
jffs2_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_jffs2_fstime) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/jffs2_support
jffs2_fstime_LDADD = $(RTEMS_ROOT)cpukit/libjffs2.a $(LDADD)
endif

if TEST_mdosfs_fserror
fs_tests += mdosfs_fserror
fs_screens += fserror/mdosfs_fserror.scn
mdosfs_fserror_SOURCES = fserror/test.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
	mdosfs_support/fs_config.h
mdosfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fserror) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support
endif

if TEST_mdosfs_fspatheval
fs_tests += mdosfs_fspatheval
fs_screens += fspatheval/mdosfs_fspatheval.scn
mdosfs_fspatheval_SOURCES = fspatheval/test.c \
	support/ramdisk_support.c support/fstest_support.c \
	support/fstest_support.h support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
	mdosfs_support/fs_config.h
mdosfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mdosfs_fspatheval) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mdosfs_support
endif

if TEST_mdosfs_fsrdwr
fs_tests += mdosfs_fsrdwr
fs_screens += fsrdwr/mdosfs_fsrdwr.scn
mdosfs_fsrdwr_SOURCES = fsrdwr/init.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
	mdosfs_support/fs_config.h
mdosfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fsrdwr) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support
endif

if TEST_mdosfs_fsscandir01
fs_tests += mdosfs_fsscandir01
fs_screens += fsscandir01/mdosfs_fsscandir01.scn
mdosfs_fsscandir01_SOURCES = fsscandir01/init.c \
	support/ramdisk_support.c support/fstest_support.c \
	support/fstest_support.h support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
	mdosfs_support/fs_config.h
mdosfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mdosfs_fsscandir01) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mdosfs_support
endif

if TEST_mdosfs_fsstatvfs
fs_tests += mdosfs_fsstatvfs
fs_screens += fsstatvfs/mdosfs_fsstatvfs.scn
mdosfs_fsstatvfs_SOURCES = fsstatvfs/test.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
	mdosfs_support/fs_config.h
mdosfs_fsstatvfs_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mdosfs_fsstatvfs) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mdosfs_support
endif

if TEST_mdosfs_fstime
fs_tests += mdosfs_fstime
mdosfs_fstime_SOURCES = fstime/test.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mdosfs_support/fs_support.c \
	mdosfs_support/fs_config.h
mdosfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mdosfs_fstime) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mdosfs_support
endif

if TEST_mimfs_fserror
fs_tests += mimfs_fserror
fs_screens += fserror/mimfs_fserror.scn
mimfs_fserror_SOURCES = fserror/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h mimfs_support/fs_support.c \
	mimfs_support/fs_config.h
mimfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fserror) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
endif

if TEST_mimfs_fslink
fs_tests += mimfs_fslink
mimfs_fslink_SOURCES = fslink/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h mimfs_support/fs_support.c \
	mimfs_support/fs_config.h
mimfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fslink) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
endif

if TEST_mimfs_fspatheval
fs_tests += mimfs_fspatheval
mimfs_fspatheval_SOURCES = fspatheval/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h mimfs_support/fs_support.c \
	mimfs_support/fs_config.h
mimfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mimfs_fspatheval) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mimfs_support
endif

if TEST_mimfs_fspermission
fs_tests += mimfs_fspermission
mimfs_fspermission_SOURCES = fspermission/test.c \
	support/fstest_support.c support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h mimfs_support/fs_support.c \
	mimfs_support/fs_config.h
mimfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mimfs_fspermission) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mimfs_support
endif

if TEST_mimfs_fsrdwr
fs_tests += mimfs_fsrdwr
mimfs_fsrdwr_SOURCES = fsrdwr/init.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h mimfs_support/fs_support.c \
	mimfs_support/fs_config.h
mimfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fsrdwr) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
endif

if TEST_mimfs_fsrename
fs_tests += mimfs_fsrename
fs_screens += fsrename/mimfs_fsrename.scn
mimfs_fsrename_SOURCES = fsrename/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h mimfs_support/fs_support.c \
	mimfs_support/fs_config.h
mimfs_fsrename_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fsrename) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
endif

if TEST_mimfs_fsscandir01
fs_tests += mimfs_fsscandir01
mimfs_fsscandir01_SOURCES = fsscandir01/init.c \
	support/fstest_support.c support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h mimfs_support/fs_support.c \
	mimfs_support/fs_config.h
mimfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mimfs_fsscandir01) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mimfs_support
endif

if TEST_mimfs_fssymlink
fs_tests += mimfs_fssymlink
mimfs_fssymlink_SOURCES = fssymlink/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h mimfs_support/fs_support.c \
	mimfs_support/fs_config.h
mimfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mimfs_fssymlink) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mimfs_support
endif

if TEST_mimfs_fstime
fs_tests += mimfs_fstime
mimfs_fstime_SOURCES = fstime/test.c support/fstest_support.c \
	support/fstest_support.h support/fstest.h \
	../psxtests/include/pmacros.h mimfs_support/fs_support.c \
	mimfs_support/fs_config.h
mimfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mimfs_fstime) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mimfs_support
endif

if TEST_mrfs_fserror
fs_tests += mrfs_fserror
fs_screens += fserror/mrfs_fserror.scn
mrfs_fserror_SOURCES = fserror/test.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mrfs_support/fs_support.c \
	mrfs_support/fs_config.h
mrfs_fserror_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fserror) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
endif

if TEST_mrfs_fsfpathconf
fs_tests += mrfs_fsfpathconf
fs_screens += fsfpathconf/mrfs_fsfpathconf.scn
mrfs_fsfpathconf_SOURCES = fsfpathconf/test.c \
	support/ramdisk_support.c support/fstest_support.c \
	support/fstest_support.h support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mrfs_support/fs_support.c \
	mrfs_support/fs_config.h
mrfs_fsfpathconf_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mrfs_fsfpathconf) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mrfs_support
endif

if TEST_mrfs_fslink
fs_tests += mrfs_fslink
fs_screens += fslink/mrfs_fslink.scn
mrfs_fslink_SOURCES = fslink/test.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mrfs_support/fs_support.c \
	mrfs_support/fs_config.h
mrfs_fslink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fslink) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
endif

if TEST_mrfs_fspatheval
fs_tests += mrfs_fspatheval
fs_screens += fspatheval/mrfs_fspatheval.scn
mrfs_fspatheval_SOURCES = fspatheval/test.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mrfs_support/fs_support.c \
	mrfs_support/fs_config.h
mrfs_fspatheval_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mrfs_fspatheval) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mrfs_support
endif

if TEST_mrfs_fspermission
fs_tests += mrfs_fspermission
fs_screens += fspermission/mrfs_fspermission.scn
mrfs_fspermission_SOURCES = fspermission/test.c \
	support/ramdisk_support.c support/fstest_support.c \
	support/fstest_support.h support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mrfs_support/fs_support.c \
	mrfs_support/fs_config.h
mrfs_fspermission_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mrfs_fspermission) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mrfs_support
endif

if TEST_mrfs_fsrdwr
fs_tests += mrfs_fsrdwr
fs_screens += fsrdwr/mrfs_fsrdwr.scn
mrfs_fsrdwr_SOURCES = fsrdwr/init.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mrfs_support/fs_support.c \
	mrfs_support/fs_config.h
mrfs_fsrdwr_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fsrdwr) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
endif

if TEST_mrfs_fsscandir01
fs_tests += mrfs_fsscandir01
fs_screens += fsscandir01/mrfs_fsscandir01.scn
mrfs_fsscandir01_SOURCES = fsscandir01/init.c \
	support/ramdisk_support.c support/fstest_support.c \
	support/fstest_support.h support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mrfs_support/fs_support.c \
	mrfs_support/fs_config.h
mrfs_fsscandir01_CPPFLAGS = $(AM_CPPFLAGS) \
	$(TEST_FLAGS_mrfs_fsscandir01) $(support_includes) $(test_includes) \
	-I$(top_srcdir)/mrfs_support
endif

if TEST_mrfs_fssymlink
fs_tests += mrfs_fssymlink
fs_screens += fssymlink/mrfs_fssymlink.scn
mrfs_fssymlink_SOURCES = fssymlink/test.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mrfs_support/fs_support.c \
	mrfs_support/fs_config.h
mrfs_fssymlink_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fssymlink) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
endif

if TEST_mrfs_fstime
fs_tests += mrfs_fstime
fs_screens += fstime/mrfs_fstime.scn
mrfs_fstime_SOURCES = fstime/test.c support/ramdisk_support.c \
	support/fstest_support.c support/fstest_support.h \
	support/ramdisk_support.h support/fstest.h \
	../psxtests/include/pmacros.h mrfs_support/fs_support.c \
	mrfs_support/fs_config.h
mrfs_fstime_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_mrfs_fstime) \
	$(support_includes) $(test_includes) -I$(top_srcdir)/mrfs_support
endif

rtems_tests_PROGRAMS = $(fs_tests)
dist_rtems_tests_DATA = $(fs_screens) $(fs_docs)

include $(top_srcdir)/../automake/local.am