Changeset dfc57eb in rtems for testsuites


Ignore:
Timestamp:
04/09/18 03:42:49 (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, master
Children:
590a5809
Parents:
2a99a6a
git-author:
Chris Johns <chrisj@…> (04/09/18 03:42:49)
git-committer:
Chris Johns <chrisj@…> (04/09/18 22:24:54)
Message:

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

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

Update #3382

Location:
testsuites/psxtmtests
Files:
49 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtmtests/Makefile.am

    r2a99a6a rdfc57eb  
     1#
     2# POSIX Timing Teststuite
     3#
     4
    15ACLOCAL_AMFLAGS = -I ../aclocal
    26
    3 _SUBDIRS =
    4 
    5 if HAS_POSIX
    6 _SUBDIRS += psxtmbarrier01
    7 _SUBDIRS += psxtmbarrier02
    8 _SUBDIRS += psxtmbarrier03
    9 _SUBDIRS += psxtmbarrier04
    10 _SUBDIRS += psxtmclocknanosleep01
    11 _SUBDIRS += psxtmclocknanosleep02
    12 _SUBDIRS += psxtmclocknanosleep03
    13 _SUBDIRS += psxtmcond01
    14 _SUBDIRS += psxtmcond02
    15 _SUBDIRS += psxtmcond03
    16 _SUBDIRS += psxtmcond04
    17 _SUBDIRS += psxtmcond05
    18 _SUBDIRS += psxtmcond06
    19 _SUBDIRS += psxtmcond07
    20 _SUBDIRS += psxtmcond08
    21 _SUBDIRS += psxtmcond09
    22 _SUBDIRS += psxtmcond10
    23 _SUBDIRS += psxtmkey01
    24 _SUBDIRS += psxtmkey02
    25 _SUBDIRS += psxtmmq01
    26 _SUBDIRS += psxtmmutex01
    27 _SUBDIRS += psxtmmutex02
    28 _SUBDIRS += psxtmmutex03
    29 _SUBDIRS += psxtmmutex04
    30 _SUBDIRS += psxtmmutex05
    31 _SUBDIRS += psxtmmutex06
    32 _SUBDIRS += psxtmmutex07
    33 _SUBDIRS += psxtmnanosleep01
    34 _SUBDIRS += psxtmnanosleep02
    35 _SUBDIRS += psxtmrwlock01
    36 _SUBDIRS += psxtmrwlock02
    37 _SUBDIRS += psxtmrwlock03
    38 _SUBDIRS += psxtmrwlock04
    39 _SUBDIRS += psxtmrwlock05
    40 _SUBDIRS += psxtmrwlock06
    41 _SUBDIRS += psxtmrwlock07
    42 _SUBDIRS += psxtmsem01
    43 _SUBDIRS += psxtmsem02
    44 _SUBDIRS += psxtmsem03
    45 _SUBDIRS += psxtmsem04
    46 _SUBDIRS += psxtmsem05
    47 _SUBDIRS += psxtmsleep01
    48 _SUBDIRS += psxtmsleep02
    49 _SUBDIRS += psxtmthread01
    50 _SUBDIRS += psxtmthread02
    51 _SUBDIRS += psxtmthread03
    52 _SUBDIRS += psxtmthread04
    53 _SUBDIRS += psxtmthread05
    54 _SUBDIRS += psxtmthread06
    55 endif
    56 
    57 DIST_SUBDIRS = $(_SUBDIRS)
    58 
    59 include $(top_srcdir)/../automake/subdirs.am
     7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     8include $(top_srcdir)/../automake/compile.am
     9
     10psxtm_tests =
     11psxtm_screens =
     12psxtm_docs =
     13
     14support_includes = -I$(top_srcdir)/../support/include
     15
     16if HAS_POSIX
     17if TEST_psxtmbarrier01
     18psxtm_tests += psxtmbarrier01
     19psxtm_docs += psxtmbarrier01/psxtmbarrier01.doc
     20psxtmbarrier01_SOURCES = psxtmbarrier01/init.c \
     21        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     22        ../support/src/tmtests_support.c
     23psxtmbarrier01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmbarrier01) \
     24        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     25        -DOPERATION_COUNT=$(OPERATION_COUNT)
     26endif
     27endif
     28
     29if HAS_POSIX
     30if TEST_psxtmbarrier02
     31psxtm_tests += psxtmbarrier02
     32psxtm_docs += psxtmbarrier02/psxtmbarrier02.doc
     33psxtmbarrier02_SOURCES = psxtmbarrier02/init.c \
     34        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     35        ../support/src/tmtests_support.c
     36psxtmbarrier02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmbarrier02) \
     37        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     38        -DOPERATION_COUNT=$(OPERATION_COUNT)
     39endif
     40endif
     41
     42if HAS_POSIX
     43if TEST_psxtmbarrier03
     44psxtm_tests += psxtmbarrier03
     45psxtm_docs += psxtmbarrier03/psxtmbarrier03.doc
     46psxtmbarrier03_SOURCES = psxtmbarrier03/init.c \
     47        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     48        ../support/src/tmtests_support.c
     49psxtmbarrier03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmbarrier03) \
     50        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     51        -DOPERATION_COUNT=$(OPERATION_COUNT)
     52endif
     53endif
     54
     55if HAS_POSIX
     56if TEST_psxtmbarrier04
     57psxtm_tests += psxtmbarrier04
     58psxtm_docs += psxtmbarrier04/psxtmbarrier04.doc
     59psxtmbarrier04_SOURCES = psxtmbarrier04/init.c \
     60        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     61        ../support/src/tmtests_support.c
     62psxtmbarrier04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmbarrier04) \
     63        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     64        -DOPERATION_COUNT=$(OPERATION_COUNT)
     65endif
     66endif
     67
     68if HAS_POSIX
     69if TEST_psxtmclocknanosleep01
     70psxtm_tests += psxtmclocknanosleep01
     71psxtm_docs += psxtmclocknanosleep01/psxtmclocknanosleep01.doc
     72psxtmclocknanosleep01_SOURCES = psxtmclocknanosleep01/init.c \
     73        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     74        ../support/src/tmtests_support.c
     75psxtmclocknanosleep01_CPPFLAGS = $(AM_CPPFLAGS) \
     76        $(TEST_FLAGS_psxtmclocknanosleep01) $(support_includes) \
     77        -I$(top_srcdir)/../tmtests/include \
     78        -DOPERATION_COUNT=$(OPERATION_COUNT)
     79endif
     80endif
     81
     82if HAS_POSIX
     83if TEST_psxtmclocknanosleep02
     84psxtm_tests += psxtmclocknanosleep02
     85psxtm_docs += psxtmclocknanosleep02/psxtmclocknanosleep02.doc
     86psxtmclocknanosleep02_SOURCES = psxtmclocknanosleep02/init.c \
     87        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     88        ../support/src/tmtests_support.c
     89psxtmclocknanosleep02_CPPFLAGS = $(AM_CPPFLAGS) \
     90        $(TEST_FLAGS_psxtmclocknanosleep02) $(support_includes) \
     91        -I$(top_srcdir)/../tmtests/include \
     92        -DOPERATION_COUNT=$(OPERATION_COUNT)
     93endif
     94endif
     95
     96if HAS_POSIX
     97if TEST_psxtmclocknanosleep03
     98psxtm_tests += psxtmclocknanosleep03
     99psxtm_docs += psxtmclocknanosleep03/psxtmclocknanosleep03.doc
     100psxtmclocknanosleep03_SOURCES = psxtmclocknanosleep03/init.c \
     101        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     102        ../support/src/tmtests_support.c
     103psxtmclocknanosleep03_CPPFLAGS = $(AM_CPPFLAGS) \
     104        $(TEST_FLAGS_psxtmclocknanosleep03) $(support_includes) \
     105        -I$(top_srcdir)/../tmtests/include \
     106        -DOPERATION_COUNT=$(OPERATION_COUNT)
     107endif
     108endif
     109
     110if HAS_POSIX
     111if TEST_psxtmcond01
     112psxtm_tests += psxtmcond01
     113psxtm_docs += psxtmcond01/psxtmcond01.doc
     114psxtmcond01_SOURCES = psxtmcond01/init.c ../tmtests/include/timesys.h \
     115        ../support/src/tmtests_empty_function.c \
     116        ../support/src/tmtests_support.c
     117psxtmcond01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmcond01) \
     118        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     119        -DOPERATION_COUNT=$(OPERATION_COUNT)
     120endif
     121endif
     122
     123if HAS_POSIX
     124if TEST_psxtmcond02
     125psxtm_tests += psxtmcond02
     126psxtm_docs += psxtmcond02/psxtmcond02.doc
     127psxtmcond02_SOURCES = psxtmcond02/init.c ../tmtests/include/timesys.h \
     128        ../support/src/tmtests_empty_function.c \
     129        ../support/src/tmtests_support.c
     130psxtmcond02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmcond02) \
     131        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     132        -DOPERATION_COUNT=$(OPERATION_COUNT)
     133endif
     134endif
     135
     136if HAS_POSIX
     137if TEST_psxtmcond03
     138psxtm_tests += psxtmcond03
     139psxtm_docs += psxtmcond03/psxtmcond03.doc
     140psxtmcond03_SOURCES = psxtmcond03/init.c ../tmtests/include/timesys.h \
     141        ../support/src/tmtests_empty_function.c \
     142        ../support/src/tmtests_support.c
     143psxtmcond03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmcond03) \
     144        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     145        -DOPERATION_COUNT=$(OPERATION_COUNT)
     146endif
     147endif
     148
     149if HAS_POSIX
     150if TEST_psxtmcond04
     151psxtm_tests += psxtmcond04
     152psxtm_docs += psxtmcond04/psxtmcond04.doc
     153psxtmcond04_SOURCES = psxtmcond04/init.c ../tmtests/include/timesys.h \
     154        ../support/src/tmtests_empty_function.c \
     155        ../support/src/tmtests_support.c
     156psxtmcond04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmcond04) \
     157        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     158        -DOPERATION_COUNT=$(OPERATION_COUNT)
     159endif
     160endif
     161
     162if HAS_POSIX
     163if TEST_psxtmcond05
     164psxtm_tests += psxtmcond05
     165psxtm_docs += psxtmcond05/psxtmcond05.doc
     166psxtmcond05_SOURCES = psxtmcond05/init.c ../tmtests/include/timesys.h \
     167        ../support/src/tmtests_empty_function.c \
     168        ../support/src/tmtests_support.c
     169psxtmcond05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmcond05) \
     170        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     171        -DOPERATION_COUNT=$(OPERATION_COUNT)
     172endif
     173endif
     174
     175if HAS_POSIX
     176if TEST_psxtmcond06
     177psxtm_tests += psxtmcond06
     178psxtm_docs += psxtmcond06/psxtmcond06.doc
     179psxtmcond06_SOURCES = psxtmcond06/init.c ../tmtests/include/timesys.h \
     180        ../support/src/tmtests_empty_function.c \
     181        ../support/src/tmtests_support.c
     182psxtmcond06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmcond06) \
     183        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     184        -DOPERATION_COUNT=$(OPERATION_COUNT)
     185endif
     186endif
     187
     188if HAS_POSIX
     189if TEST_psxtmcond07
     190psxtm_tests += psxtmcond07
     191psxtm_docs += psxtmcond07/psxtmcond07.doc
     192psxtmcond07_SOURCES = psxtmcond07/init.c ../tmtests/include/timesys.h \
     193        ../support/src/tmtests_empty_function.c \
     194        ../support/src/tmtests_support.c
     195psxtmcond07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmcond07) \
     196        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     197        -DOPERATION_COUNT=$(OPERATION_COUNT)
     198endif
     199endif
     200
     201if HAS_POSIX
     202if TEST_psxtmcond08
     203psxtm_tests += psxtmcond08
     204psxtm_docs += psxtmcond08/psxtmcond08.doc
     205psxtmcond08_SOURCES = psxtmcond08/init.c ../tmtests/include/timesys.h \
     206        ../support/src/tmtests_empty_function.c \
     207        ../support/src/tmtests_support.c
     208psxtmcond08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmcond08) \
     209        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     210        -DOPERATION_COUNT=$(OPERATION_COUNT) -DUSE_WAIT
     211endif
     212endif
     213
     214if HAS_POSIX
     215if TEST_psxtmcond09
     216psxtm_tests += psxtmcond09
     217psxtm_docs += psxtmcond09/psxtmcond09.doc
     218psxtmcond09_SOURCES = psxtmcond08/init.c ../tmtests/include/timesys.h \
     219        ../support/src/tmtests_empty_function.c \
     220        ../support/src/tmtests_support.c
     221psxtmcond09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmcond09) \
     222        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     223        -DOPERATION_COUNT=$(OPERATION_COUNT) -DUSE_TIMEDWAIT_WITH_VALUE
     224endif
     225endif
     226
     227if HAS_POSIX
     228if TEST_psxtmcond10
     229psxtm_tests += psxtmcond10
     230psxtm_docs += psxtmcond10/psxtmcond10.doc
     231psxtmcond10_SOURCES = psxtmcond08/init.c ../tmtests/include/timesys.h \
     232        ../support/src/tmtests_empty_function.c \
     233        ../support/src/tmtests_support.c
     234psxtmcond10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmcond10) \
     235        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     236        -DOPERATION_COUNT=$(OPERATION_COUNT) \
     237        -DUSE_TIMEDWAIT_WAIT_VALUE_IN_PAST
     238endif
     239endif
     240
     241if HAS_POSIX
     242if TEST_psxtmkey01
     243psxtm_tests += psxtmkey01
     244psxtm_docs += psxtmkey01/psxtmkey01.doc
     245psxtmkey01_SOURCES = psxtmkey01/init.c ../tmtests/include/timesys.h \
     246        ../support/src/tmtests_empty_function.c \
     247        ../support/src/tmtests_support.c
     248psxtmkey01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmkey01) \
     249        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     250        -DOPERATION_COUNT=$(OPERATION_COUNT)
     251endif
     252endif
     253
     254if HAS_POSIX
     255if TEST_psxtmkey02
     256psxtm_tests += psxtmkey02
     257psxtm_docs += psxtmkey02/psxtmkey02.doc
     258psxtmkey02_SOURCES = psxtmkey02/init.c ../tmtests/include/timesys.h \
     259        ../support/src/tmtests_empty_function.c \
     260        ../support/src/tmtests_support.c
     261psxtmkey02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmkey02) \
     262        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     263        -DOPERATION_COUNT=$(OPERATION_COUNT)
     264endif
     265endif
     266
     267if HAS_POSIX
     268if TEST_psxtmmq01
     269psxtm_tests += psxtmmq01
     270psxtm_docs += psxtmmq01/psxtmmq01.doc
     271psxtmmq01_SOURCES = psxtmmq01/init.c ../tmtests/include/timesys.h \
     272        ../support/src/tmtests_empty_function.c \
     273        ../support/src/tmtests_support.c
     274psxtmmq01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmmq01) \
     275        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     276        -DOPERATION_COUNT=$(OPERATION_COUNT)
     277endif
     278endif
     279
     280if HAS_POSIX
     281if TEST_psxtmmutex01
     282psxtm_tests += psxtmmutex01
     283psxtm_docs += psxtmmutex01/psxtmmutex01.doc
     284psxtmmutex01_SOURCES = psxtmmutex01/init.c \
     285        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     286        ../support/src/tmtests_support.c
     287psxtmmutex01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmmutex01) \
     288        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     289        -DOPERATION_COUNT=$(OPERATION_COUNT)
     290endif
     291endif
     292
     293if HAS_POSIX
     294if TEST_psxtmmutex02
     295psxtm_tests += psxtmmutex02
     296psxtm_docs += psxtmmutex02/psxtmmutex02.doc
     297psxtmmutex02_SOURCES = psxtmmutex02/init.c \
     298        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     299        ../support/src/tmtests_support.c
     300psxtmmutex02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmmutex02) \
     301        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     302        -DOPERATION_COUNT=$(OPERATION_COUNT)
     303endif
     304endif
     305
     306if HAS_POSIX
     307if TEST_psxtmmutex03
     308psxtm_tests += psxtmmutex03
     309psxtm_docs += psxtmmutex03/psxtmmutex03.doc
     310psxtmmutex03_SOURCES = psxtmmutex03/init.c \
     311        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     312        ../support/src/tmtests_support.c
     313psxtmmutex03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmmutex03) \
     314        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     315        -DOPERATION_COUNT=$(OPERATION_COUNT)
     316endif
     317endif
     318
     319if HAS_POSIX
     320if TEST_psxtmmutex04
     321psxtm_tests += psxtmmutex04
     322psxtm_docs += psxtmmutex04/psxtmmutex04.doc
     323psxtmmutex04_SOURCES = psxtmmutex04/init.c \
     324        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     325        ../support/src/tmtests_support.c
     326psxtmmutex04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmmutex04) \
     327        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     328        -DOPERATION_COUNT=$(OPERATION_COUNT)
     329endif
     330endif
     331
     332if HAS_POSIX
     333if TEST_psxtmmutex05
     334psxtm_tests += psxtmmutex05
     335psxtm_docs += psxtmmutex05/psxtmmutex05.doc
     336psxtmmutex05_SOURCES = psxtmmutex05/init.c \
     337        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     338        ../support/src/tmtests_support.c
     339psxtmmutex05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmmutex05) \
     340        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     341        -DOPERATION_COUNT=$(OPERATION_COUNT)
     342endif
     343endif
     344
     345if HAS_POSIX
     346if TEST_psxtmmutex06
     347psxtm_tests += psxtmmutex06
     348psxtm_docs += psxtmmutex06/psxtmmutex06.doc
     349psxtmmutex06_SOURCES = psxtmmutex06/init.c \
     350        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     351        ../support/src/tmtests_support.c
     352psxtmmutex06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmmutex06) \
     353        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     354        -DOPERATION_COUNT=$(OPERATION_COUNT)
     355endif
     356endif
     357
     358if HAS_POSIX
     359if TEST_psxtmmutex07
     360psxtm_tests += psxtmmutex07
     361psxtm_docs += psxtmmutex07/psxtmmutex07.doc
     362psxtmmutex07_SOURCES = psxtmmutex07/init.c \
     363        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     364        ../support/src/tmtests_support.c
     365psxtmmutex07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmmutex07) \
     366        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     367        -DOPERATION_COUNT=$(OPERATION_COUNT)
     368endif
     369endif
     370
     371if HAS_POSIX
     372if TEST_psxtmnanosleep01
     373psxtm_tests += psxtmnanosleep01
     374psxtm_docs += psxtmnanosleep01/psxtmnanosleep01.doc
     375psxtmnanosleep01_SOURCES = psxtmnanosleep01/init.c \
     376        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     377        ../support/src/tmtests_support.c
     378psxtmnanosleep01_CPPFLAGS = $(AM_CPPFLAGS) \
     379        $(TEST_FLAGS_psxtmnanosleep01) $(support_includes) \
     380        -I$(top_srcdir)/../tmtests/include \
     381        -DOPERATION_COUNT=$(OPERATION_COUNT)
     382endif
     383endif
     384
     385if HAS_POSIX
     386if TEST_psxtmnanosleep02
     387psxtm_tests += psxtmnanosleep02
     388psxtm_docs += psxtmnanosleep02/psxtmnanosleep02.doc
     389psxtmnanosleep02_SOURCES = psxtmnanosleep02/init.c \
     390        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     391        ../support/src/tmtests_support.c
     392psxtmnanosleep02_CPPFLAGS = $(AM_CPPFLAGS) \
     393        $(TEST_FLAGS_psxtmnanosleep02) $(support_includes) \
     394        -I$(top_srcdir)/../tmtests/include \
     395        -DOPERATION_COUNT=$(OPERATION_COUNT)
     396endif
     397endif
     398
     399if HAS_POSIX
     400if TEST_psxtmrwlock01
     401psxtm_tests += psxtmrwlock01
     402psxtm_docs += psxtmrwlock01/psxtmrwlock01.doc
     403psxtmrwlock01_SOURCES = psxtmrwlock01/init.c \
     404        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     405        ../support/src/tmtests_support.c
     406psxtmrwlock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmrwlock01) \
     407        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     408        -DOPERATION_COUNT=$(OPERATION_COUNT)
     409endif
     410endif
     411
     412if HAS_POSIX
     413if TEST_psxtmrwlock02
     414psxtm_tests += psxtmrwlock02
     415psxtm_docs += psxtmrwlock02/psxtmrwlock02.doc
     416psxtmrwlock02_SOURCES = psxtmrwlock02/init.c \
     417        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     418        ../support/src/tmtests_support.c
     419psxtmrwlock02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmrwlock02) \
     420        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     421        -DOPERATION_COUNT=$(OPERATION_COUNT)
     422endif
     423endif
     424
     425if HAS_POSIX
     426if TEST_psxtmrwlock03
     427psxtm_tests += psxtmrwlock03
     428psxtm_docs += psxtmrwlock03/psxtmrwlock03.doc
     429psxtmrwlock03_SOURCES = psxtmrwlock03/init.c \
     430        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     431        ../support/src/tmtests_support.c
     432psxtmrwlock03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmrwlock03) \
     433        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     434        -DOPERATION_COUNT=$(OPERATION_COUNT)
     435endif
     436endif
     437
     438if HAS_POSIX
     439if TEST_psxtmrwlock04
     440psxtm_tests += psxtmrwlock04
     441psxtm_docs += psxtmrwlock04/psxtmrwlock04.doc
     442psxtmrwlock04_SOURCES = psxtmrwlock04/init.c \
     443        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     444        ../support/src/tmtests_support.c
     445psxtmrwlock04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmrwlock04) \
     446        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     447        -DOPERATION_COUNT=$(OPERATION_COUNT)
     448endif
     449endif
     450
     451if HAS_POSIX
     452if TEST_psxtmrwlock05
     453psxtm_tests += psxtmrwlock05
     454psxtm_docs += psxtmrwlock05/psxtmrwlock05.doc
     455psxtmrwlock05_SOURCES = psxtmrwlock05/init.c \
     456        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     457        ../support/src/tmtests_support.c
     458psxtmrwlock05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmrwlock05) \
     459        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     460        -DOPERATION_COUNT=$(OPERATION_COUNT)
     461endif
     462endif
     463
     464if HAS_POSIX
     465if TEST_psxtmrwlock06
     466psxtm_tests += psxtmrwlock06
     467psxtm_docs += psxtmrwlock06/psxtmrwlock06.doc
     468psxtmrwlock06_SOURCES = psxtmrwlock06/init.c \
     469        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     470        ../support/src/tmtests_support.c
     471psxtmrwlock06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmrwlock06) \
     472        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     473        -DOPERATION_COUNT=$(OPERATION_COUNT)
     474endif
     475endif
     476
     477if HAS_POSIX
     478if TEST_psxtmrwlock07
     479psxtm_tests += psxtmrwlock07
     480psxtm_docs += psxtmrwlock07/psxtmrwlock07.doc
     481psxtmrwlock07_SOURCES = psxtmrwlock07/init.c \
     482        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     483        ../support/src/tmtests_support.c
     484psxtmrwlock07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmrwlock07) \
     485        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     486        -DOPERATION_COUNT=$(OPERATION_COUNT)
     487endif
     488endif
     489
     490if HAS_POSIX
     491if TEST_psxtmsem01
     492psxtm_tests += psxtmsem01
     493psxtm_docs += psxtmsem01/psxtmsem01.doc
     494psxtmsem01_SOURCES = psxtmsem01/init.c ../tmtests/include/timesys.h \
     495        ../support/src/tmtests_empty_function.c \
     496        ../support/src/tmtests_support.c
     497psxtmsem01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmsem01) \
     498        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     499        -DOPERATION_COUNT=$(OPERATION_COUNT)
     500endif
     501endif
     502
     503if HAS_POSIX
     504if TEST_psxtmsem02
     505psxtm_tests += psxtmsem02
     506psxtm_docs += psxtmsem02/psxtmsem02.doc
     507psxtmsem02_SOURCES = psxtmsem02/init.c ../tmtests/include/timesys.h \
     508        ../support/src/tmtests_empty_function.c \
     509        ../support/src/tmtests_support.c
     510psxtmsem02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmsem02) \
     511        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     512        -DOPERATION_COUNT=$(OPERATION_COUNT)
     513endif
     514endif
     515
     516if HAS_POSIX
     517if TEST_psxtmsem03
     518psxtm_tests += psxtmsem03
     519psxtm_docs += psxtmsem03/psxtmsem03.doc
     520psxtmsem03_SOURCES = psxtmsem03/init.c ../tmtests/include/timesys.h \
     521        ../support/src/tmtests_empty_function.c \
     522        ../support/src/tmtests_support.c
     523psxtmsem03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmsem03) \
     524        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     525        -DOPERATION_COUNT=$(OPERATION_COUNT)
     526endif
     527endif
     528
     529if HAS_POSIX
     530if TEST_psxtmsem04
     531psxtm_tests += psxtmsem04
     532psxtm_docs += psxtmsem04/psxtmsem04.doc
     533psxtmsem04_SOURCES = psxtmsem04/init.c ../tmtests/include/timesys.h \
     534        ../support/src/tmtests_empty_function.c \
     535        ../support/src/tmtests_support.c
     536psxtmsem04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmsem04) \
     537        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     538        -DOPERATION_COUNT=$(OPERATION_COUNT)
     539endif
     540endif
     541
     542if HAS_POSIX
     543if TEST_psxtmsem05
     544psxtm_tests += psxtmsem05
     545psxtm_docs += psxtmsem05/psxtmsem05.doc
     546psxtmsem05_SOURCES = psxtmsem05/init.c ../tmtests/include/timesys.h \
     547        ../support/src/tmtests_empty_function.c \
     548        ../support/src/tmtests_support.c
     549psxtmsem05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmsem05) \
     550        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     551        -DOPERATION_COUNT=$(OPERATION_COUNT)
     552endif
     553endif
     554
     555if HAS_POSIX
     556if TEST_psxtmsleep01
     557psxtm_tests += psxtmsleep01
     558psxtm_docs += psxtmsleep01/psxtmsleep01.doc
     559psxtmsleep01_SOURCES = psxtmsleep01/init.c \
     560        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     561        ../support/src/tmtests_support.c
     562psxtmsleep01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmsleep01) \
     563        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     564        -DOPERATION_COUNT=$(OPERATION_COUNT)
     565endif
     566endif
     567
     568if HAS_POSIX
     569if TEST_psxtmsleep02
     570psxtm_tests += psxtmsleep02
     571psxtm_docs += psxtmsleep02/psxtmsleep02.doc
     572psxtmsleep02_SOURCES = psxtmsleep02/init.c \
     573        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     574        ../support/src/tmtests_support.c
     575psxtmsleep02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmsleep02) \
     576        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     577        -DOPERATION_COUNT=$(OPERATION_COUNT)
     578endif
     579endif
     580
     581if HAS_POSIX
     582if TEST_psxtmthread01
     583psxtm_tests += psxtmthread01
     584psxtm_docs += psxtmthread01/psxtmthread01.doc
     585psxtmthread01_SOURCES = psxtmthread01/init.c \
     586        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     587        ../support/src/tmtests_support.c
     588psxtmthread01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmthread01) \
     589        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     590        -DOPERATION_COUNT=$(OPERATION_COUNT)
     591endif
     592endif
     593
     594if HAS_POSIX
     595if TEST_psxtmthread02
     596psxtm_tests += psxtmthread02
     597psxtm_docs += psxtmthread02/psxtmthread02.doc
     598psxtmthread02_SOURCES = psxtmthread02/init.c \
     599        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     600        ../support/src/tmtests_support.c
     601psxtmthread02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmthread02) \
     602        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     603        -DOPERATION_COUNT=$(OPERATION_COUNT)
     604endif
     605endif
     606
     607if HAS_POSIX
     608if TEST_psxtmthread03
     609psxtm_tests += psxtmthread03
     610psxtm_docs += psxtmthread03/psxtmthread03.doc
     611psxtmthread03_SOURCES = psxtmthread03/init.c \
     612        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     613        ../support/src/tmtests_support.c
     614psxtmthread03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmthread03) \
     615        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     616        -DOPERATION_COUNT=$(OPERATION_COUNT)
     617endif
     618endif
     619
     620if HAS_POSIX
     621if TEST_psxtmthread04
     622psxtm_tests += psxtmthread04
     623psxtm_docs += psxtmthread04/psxtmthread04.doc
     624psxtmthread04_SOURCES = psxtmthread04/init.c \
     625        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     626        ../support/src/tmtests_support.c
     627psxtmthread04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmthread04) \
     628        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     629        -DOPERATION_COUNT=$(OPERATION_COUNT)
     630endif
     631endif
     632
     633if HAS_POSIX
     634if TEST_psxtmthread05
     635psxtm_tests += psxtmthread05
     636psxtm_docs += psxtmthread05/psxtmthread05.doc
     637psxtmthread05_SOURCES = psxtmthread05/init.c \
     638        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     639        ../support/src/tmtests_support.c
     640psxtmthread05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmthread05) \
     641        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     642        -DOPERATION_COUNT=$(OPERATION_COUNT)
     643endif
     644endif
     645
     646if HAS_POSIX
     647if TEST_psxtmthread06
     648psxtm_tests += psxtmthread06
     649psxtm_docs += psxtmthread06/psxtmthread06.doc
     650psxtmthread06_SOURCES = psxtmthread06/init.c \
     651        ../tmtests/include/timesys.h ../support/src/tmtests_empty_function.c \
     652        ../support/src/tmtests_support.c
     653psxtmthread06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_psxtmthread06) \
     654        $(support_includes) -I$(top_srcdir)/../tmtests/include \
     655        -DOPERATION_COUNT=$(OPERATION_COUNT)
     656endif
     657endif
     658
     659rtems_tests_PROGRAMS = $(psxtm_tests)
     660dist_rtems_tests_DATA = $(psxtm_screens) $(psxtm_docs)
     661
    60662include $(top_srcdir)/../automake/local.am
  • testsuites/psxtmtests/configure.ac

    r2a99a6a rdfc57eb  
    7878AC_SUBST(OPERATION_COUNT)
    7979
    80 # Explicitly list all Makefiles here
    81 AC_CONFIG_FILES([Makefile
    82 psxtmbarrier01/Makefile
    83 psxtmbarrier02/Makefile
    84 psxtmbarrier03/Makefile
    85 psxtmbarrier04/Makefile
    86 psxtmclocknanosleep01/Makefile
    87 psxtmclocknanosleep02/Makefile
    88 psxtmclocknanosleep03/Makefile
    89 psxtmcond01/Makefile
    90 psxtmcond02/Makefile
    91 psxtmcond03/Makefile
    92 psxtmcond04/Makefile
    93 psxtmcond05/Makefile
    94 psxtmcond06/Makefile
    95 psxtmcond07/Makefile
    96 psxtmcond08/Makefile
    97 psxtmcond09/Makefile
    98 psxtmcond10/Makefile
    99 psxtmkey01/Makefile
    100 psxtmkey02/Makefile
    101 psxtmmq01/Makefile
    102 psxtmmutex01/Makefile
    103 psxtmmutex02/Makefile
    104 psxtmmutex03/Makefile
    105 psxtmmutex04/Makefile
    106 psxtmmutex05/Makefile
    107 psxtmmutex06/Makefile
    108 psxtmmutex07/Makefile
    109 psxtmnanosleep01/Makefile
    110 psxtmnanosleep02/Makefile
    111 psxtmrwlock01/Makefile
    112 psxtmrwlock02/Makefile
    113 psxtmrwlock03/Makefile
    114 psxtmrwlock04/Makefile
    115 psxtmrwlock05/Makefile
    116 psxtmrwlock06/Makefile
    117 psxtmrwlock07/Makefile
    118 psxtmsem01/Makefile
    119 psxtmsem02/Makefile
    120 psxtmsem03/Makefile
    121 psxtmsem04/Makefile
    122 psxtmsem05/Makefile
    123 psxtmsleep01/Makefile
    124 psxtmsleep02/Makefile
    125 psxtmthread01/Makefile
    126 psxtmthread02/Makefile
    127 psxtmthread03/Makefile
    128 psxtmthread04/Makefile
    129 psxtmthread05/Makefile
    130 psxtmthread06/Makefile
    131 ])
     80# BSP Test configuration
     81RTEMS_TEST_CHECK([psxtmbarrier01])
     82RTEMS_TEST_CHECK([psxtmbarrier02])
     83RTEMS_TEST_CHECK([psxtmbarrier03])
     84RTEMS_TEST_CHECK([psxtmbarrier04])
     85RTEMS_TEST_CHECK([psxtmclocknanosleep01])
     86RTEMS_TEST_CHECK([psxtmclocknanosleep02])
     87RTEMS_TEST_CHECK([psxtmclocknanosleep03])
     88RTEMS_TEST_CHECK([psxtmcond01])
     89RTEMS_TEST_CHECK([psxtmcond02])
     90RTEMS_TEST_CHECK([psxtmcond03])
     91RTEMS_TEST_CHECK([psxtmcond04])
     92RTEMS_TEST_CHECK([psxtmcond05])
     93RTEMS_TEST_CHECK([psxtmcond06])
     94RTEMS_TEST_CHECK([psxtmcond07])
     95RTEMS_TEST_CHECK([psxtmcond08])
     96RTEMS_TEST_CHECK([psxtmcond09])
     97RTEMS_TEST_CHECK([psxtmcond10])
     98RTEMS_TEST_CHECK([psxtmkey01])
     99RTEMS_TEST_CHECK([psxtmkey02])
     100RTEMS_TEST_CHECK([psxtmmq01])
     101RTEMS_TEST_CHECK([psxtmmutex01])
     102RTEMS_TEST_CHECK([psxtmmutex02])
     103RTEMS_TEST_CHECK([psxtmmutex03])
     104RTEMS_TEST_CHECK([psxtmmutex04])
     105RTEMS_TEST_CHECK([psxtmmutex05])
     106RTEMS_TEST_CHECK([psxtmmutex06])
     107RTEMS_TEST_CHECK([psxtmmutex07])
     108RTEMS_TEST_CHECK([psxtmnanosleep01])
     109RTEMS_TEST_CHECK([psxtmnanosleep02])
     110RTEMS_TEST_CHECK([psxtmrwlock01])
     111RTEMS_TEST_CHECK([psxtmrwlock02])
     112RTEMS_TEST_CHECK([psxtmrwlock03])
     113RTEMS_TEST_CHECK([psxtmrwlock04])
     114RTEMS_TEST_CHECK([psxtmrwlock05])
     115RTEMS_TEST_CHECK([psxtmrwlock06])
     116RTEMS_TEST_CHECK([psxtmrwlock07])
     117RTEMS_TEST_CHECK([psxtmsem01])
     118RTEMS_TEST_CHECK([psxtmsem02])
     119RTEMS_TEST_CHECK([psxtmsem03])
     120RTEMS_TEST_CHECK([psxtmsem04])
     121RTEMS_TEST_CHECK([psxtmsem05])
     122RTEMS_TEST_CHECK([psxtmsleep01])
     123RTEMS_TEST_CHECK([psxtmsleep02])
     124RTEMS_TEST_CHECK([psxtmthread01])
     125RTEMS_TEST_CHECK([psxtmthread02])
     126RTEMS_TEST_CHECK([psxtmthread03])
     127RTEMS_TEST_CHECK([psxtmthread04])
     128RTEMS_TEST_CHECK([psxtmthread05])
     129RTEMS_TEST_CHECK([psxtmthread06])
     130
     131AC_CONFIG_FILES([Makefile])
    132132AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.