Changeset 8967e5f in rtems for testsuites


Ignore:
Timestamp:
Apr 9, 2018, 3:40:29 AM (20 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
3206879f
Parents:
5c65b98
git-author:
Chris Johns <chrisj@…> (04/09/18 03:40:29)
git-committer:
Chris Johns <chrisj@…> (04/09/18 22:24:54)
Message:

testsuite/fstests: Merged nested Makefile.am files into one Makefile.am

This change is part of the testsuite Makefile.am reorganization.

Update #3382

Location:
testsuites/fstests
Files:
56 deleted
2 edited
39 moved

Legend:

Unmodified
Added
Removed
  • testsuites/fstests/Makefile.am

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

    r5c65b98 r8967e5f  
    7878AC_CHECK_SIZEOF([blkcnt_t])
    7979
    80 # Explicitly list all Makefiles here
    81 AC_CONFIG_FILES([Makefile
    82 fsbdpart01/Makefile
    83 fsclose01/Makefile
    84 fsdosfsformat01/Makefile
    85 fsdosfsname01/Makefile
    86 fsdosfsname02/Makefile
    87 fsdosfssync01/Makefile
    88 fsdosfswrite01/Makefile
    89 fsfseeko01/Makefile
    90 fsimfsconfig01/Makefile
    91 fsimfsconfig02/Makefile
    92 fsimfsconfig03/Makefile
    93 fsimfsgeneric01/Makefile
    94 fsjffs2gc01/Makefile
    95 fsnofs01/Makefile
    96 fsrfsbitmap01/Makefile
    97 fsrofs01/Makefile
    98 imfs_fserror/Makefile
    99 imfs_fslink/Makefile
    100 imfs_fspatheval/Makefile
    101 imfs_fspermission/Makefile
    102 imfs_fsrdwr/Makefile
    103 imfs_fsscandir01/Makefile
    104 imfs_fssymlink/Makefile
    105 imfs_fstime/Makefile
    106 jffs2_fserror/Makefile
    107 jffs2_fslink/Makefile
    108 jffs2_fspatheval/Makefile
    109 jffs2_fspermission/Makefile
    110 jffs2_fsrdwr/Makefile
    111 jffs2_fsscandir01/Makefile
    112 jffs2_fssymlink/Makefile
    113 jffs2_fstime/Makefile
    114 mdosfs_fserror/Makefile
    115 mdosfs_fspatheval/Makefile
    116 mdosfs_fsrdwr/Makefile
    117 mdosfs_fsscandir01/Makefile
    118 mdosfs_fsstatvfs/Makefile
    119 mdosfs_fstime/Makefile
    120 mimfs_fserror/Makefile
    121 mimfs_fslink/Makefile
    122 mimfs_fspatheval/Makefile
    123 mimfs_fspermission/Makefile
    124 mimfs_fsrdwr/Makefile
    125 mimfs_fsrename/Makefile
    126 mimfs_fsscandir01/Makefile
    127 mimfs_fssymlink/Makefile
    128 mimfs_fstime/Makefile
    129 mrfs_fserror/Makefile
    130 mrfs_fsfpathconf/Makefile
    131 mrfs_fslink/Makefile
    132 mrfs_fspatheval/Makefile
    133 mrfs_fspermission/Makefile
    134 mrfs_fsrdwr/Makefile
    135 mrfs_fsscandir01/Makefile
    136 mrfs_fssymlink/Makefile
    137 mrfs_fstime/Makefile
    138 ])
     80# BSP Test configuration
     81RTEMS_TEST_CHECK([fsbdpart01])
     82RTEMS_TEST_CHECK([fsclose01])
     83RTEMS_TEST_CHECK([fsdosfsformat01])
     84RTEMS_TEST_CHECK([fsdosfsname01])
     85RTEMS_TEST_CHECK([fsdosfsname02])
     86RTEMS_TEST_CHECK([fsdosfssync01])
     87RTEMS_TEST_CHECK([fsdosfswrite01])
     88RTEMS_TEST_CHECK([fsfseeko01])
     89RTEMS_TEST_CHECK([fsimfsconfig01])
     90RTEMS_TEST_CHECK([fsimfsconfig02])
     91RTEMS_TEST_CHECK([fsimfsconfig03])
     92RTEMS_TEST_CHECK([fsimfsgeneric01])
     93RTEMS_TEST_CHECK([fsjffs2gc01])
     94RTEMS_TEST_CHECK([fsnofs01])
     95RTEMS_TEST_CHECK([fsrfsbitmap01])
     96RTEMS_TEST_CHECK([fsrofs01])
     97RTEMS_TEST_CHECK([imfs_fserror])
     98RTEMS_TEST_CHECK([imfs_fslink])
     99RTEMS_TEST_CHECK([imfs_fspatheval])
     100RTEMS_TEST_CHECK([imfs_fspermission])
     101RTEMS_TEST_CHECK([imfs_fsrdwr])
     102RTEMS_TEST_CHECK([imfs_fsscandir01])
     103RTEMS_TEST_CHECK([imfs_fssymlink])
     104RTEMS_TEST_CHECK([imfs_fstime])
     105RTEMS_TEST_CHECK([jffs2_fserror])
     106RTEMS_TEST_CHECK([jffs2_fslink])
     107RTEMS_TEST_CHECK([jffs2_fspatheval])
     108RTEMS_TEST_CHECK([jffs2_fspermission])
     109RTEMS_TEST_CHECK([jffs2_fsrdwr])
     110RTEMS_TEST_CHECK([jffs2_fsscandir01])
     111RTEMS_TEST_CHECK([jffs2_fssymlink])
     112RTEMS_TEST_CHECK([jffs2_fstime])
     113RTEMS_TEST_CHECK([mdosfs_fserror])
     114RTEMS_TEST_CHECK([mdosfs_fspatheval])
     115RTEMS_TEST_CHECK([mdosfs_fsrdwr])
     116RTEMS_TEST_CHECK([mdosfs_fsscandir01])
     117RTEMS_TEST_CHECK([mdosfs_fsstatvfs])
     118RTEMS_TEST_CHECK([mdosfs_fstime])
     119RTEMS_TEST_CHECK([mimfs_fserror])
     120RTEMS_TEST_CHECK([mimfs_fslink])
     121RTEMS_TEST_CHECK([mimfs_fspatheval])
     122RTEMS_TEST_CHECK([mimfs_fspermission])
     123RTEMS_TEST_CHECK([mimfs_fsrdwr])
     124RTEMS_TEST_CHECK([mimfs_fsrename])
     125RTEMS_TEST_CHECK([mimfs_fsscandir01])
     126RTEMS_TEST_CHECK([mimfs_fssymlink])
     127RTEMS_TEST_CHECK([mimfs_fstime])
     128RTEMS_TEST_CHECK([mrfs_fserror])
     129RTEMS_TEST_CHECK([mrfs_fsfpathconf])
     130RTEMS_TEST_CHECK([mrfs_fslink])
     131RTEMS_TEST_CHECK([mrfs_fspatheval])
     132RTEMS_TEST_CHECK([mrfs_fspermission])
     133RTEMS_TEST_CHECK([mrfs_fsrdwr])
     134RTEMS_TEST_CHECK([mrfs_fsscandir01])
     135RTEMS_TEST_CHECK([mrfs_fssymlink])
     136RTEMS_TEST_CHECK([mrfs_fstime])
     137
     138AC_CONFIG_FILES([Makefile])
    139139AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.