Changeset 8074fa0b in rtems for testsuites


Ignore:
Timestamp:
04/09/18 03:44:37 (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, master
Children:
bc06753
Parents:
d027e6bb
git-author:
Chris Johns <chrisj@…> (04/09/18 03:44:37)
git-committer:
Chris Johns <chrisj@…> (04/09/18 22:24:54)
Message:

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

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

Update #3382

Location:
testsuites/smptests
Files:
55 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/Makefile.am

    rd027e6bb r8074fa0b  
     1#
     2# SMP Teststuite
     3#
     4
    15ACLOCAL_AMFLAGS = -I ../aclocal
    26
    3 _SUBDIRS  =
    4 if SMPTESTS
    5 _SUBDIRS += smp01
    6 _SUBDIRS += smp02
    7 _SUBDIRS += smp03
    8 _SUBDIRS += smp05
    9 _SUBDIRS += smp07
    10 _SUBDIRS += smp08
    11 _SUBDIRS += smp09
    12 _SUBDIRS += smpaffinity01
    13 _SUBDIRS += smpatomic01
    14 _SUBDIRS += smpcache01
    15 _SUBDIRS += smpcapture01
    16 _SUBDIRS += smpcapture02
    17 _SUBDIRS += smpclock01
    18 _SUBDIRS += smpfatal01
    19 _SUBDIRS += smpfatal02
    20 _SUBDIRS += smpfatal03
    21 _SUBDIRS += smpfatal04
    22 _SUBDIRS += smpfatal05
    23 _SUBDIRS += smpfatal06
    24 _SUBDIRS += smpfatal08
    25 _SUBDIRS += smpipi01
    26 _SUBDIRS += smpload01
    27 _SUBDIRS += smplock01
    28 _SUBDIRS += smpmigration01
    29 _SUBDIRS += smpmigration02
    30 _SUBDIRS += smpmrsp01
    31 _SUBDIRS += smpmutex01
    32 _SUBDIRS += smpmutex02
    33 _SUBDIRS += smpopenmp01
    34 _SUBDIRS += smpschedaffinity03
    35 _SUBDIRS += smpschedaffinity04
    36 _SUBDIRS += smpschedaffinity05
    37 _SUBDIRS += smpschededf01
    38 _SUBDIRS += smpschededf02
    39 _SUBDIRS += smpschededf03
    40 _SUBDIRS += smpschedsem01
    41 _SUBDIRS += smpscheduler01
    42 _SUBDIRS += smpscheduler02
    43 _SUBDIRS += smpscheduler03
    44 _SUBDIRS += smpscheduler04
    45 _SUBDIRS += smpscheduler05
    46 _SUBDIRS += smpscheduler06
    47 _SUBDIRS += smpscheduler07
    48 _SUBDIRS += smpsignal01
    49 _SUBDIRS += smpstrongapa01
    50 _SUBDIRS += smpswitchextension01
    51 _SUBDIRS += smpthreadlife01
    52 _SUBDIRS += smpunsupported01
    53 _SUBDIRS += smpwakeafter01
     7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     8include $(top_srcdir)/../automake/compile.am
     9
     10smp_tests =
     11smp_screens =
     12smp_docs =
     13
     14support_includes = -I$(top_srcdir)/../support/include
     15
     16if HAS_SMP
     17if TEST_smp01
     18smp_tests += smp01
     19smp_screens += smp01/smp01.scn
     20smp_docs += smp01/smp01.doc
     21smp01_SOURCES = smp01/init.c smp01/tasks.c smp01/system.h \
     22        ../support/src/locked_print.c
     23smp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp01) \
     24        $(support_includes) -DSMPTEST
     25endif
     26endif
     27
     28if HAS_SMP
     29if TEST_smp02
     30smp_tests += smp02
     31smp_screens += smp02/smp02.scn
     32smp_docs += smp02/smp02.doc
     33smp02_SOURCES = smp02/init.c smp02/tasks.c smp02/system.h \
     34        ../support/src/locked_print.c
     35smp02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp02) \
     36        $(support_includes) -DSMPTEST
     37endif
     38endif
     39
     40if HAS_SMP
     41if TEST_smp03
     42smp_tests += smp03
     43smp_screens += smp03/smp03.scn
     44smp_docs += smp03/smp03.doc
     45smp03_SOURCES = smp03/init.c smp03/tasks.c smp03/system.h \
     46        ../support/src/locked_print.c
     47smp03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp03) \
     48        $(support_includes) -DSMPTEST
     49endif
     50endif
     51
     52if HAS_SMP
     53if TEST_smp05
     54smp_tests += smp05
     55smp_screens += smp05/smp05.scn
     56smp_docs += smp05/smp05.doc
     57smp05_SOURCES = smp05/init.c ../support/src/locked_print.c
     58smp05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp05) \
     59        $(support_includes) -DSMPTEST
     60endif
     61endif
     62
     63if HAS_SMP
     64if TEST_smp07
     65smp_tests += smp07
     66smp_screens += smp07/smp07.scn
     67smp_docs += smp07/smp07.doc
     68smp07_SOURCES = smp07/init.c ../support/src/locked_print.c
     69smp07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp07) \
     70        $(support_includes) -DSMPTEST
     71endif
     72endif
     73
     74if HAS_SMP
     75if TEST_smp08
     76smp_tests += smp08
     77smp_screens += smp08/smp08.scn
     78smp_docs += smp08/smp08.doc
     79smp08_SOURCES = smp08/init.c smp08/tasks.c smp08/system.h \
     80        ../support/src/locked_print.c
     81smp08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp08) \
     82        $(support_includes) -DSMPTEST
     83endif
     84endif
     85
     86if HAS_SMP
     87if TEST_smp09
     88smp_tests += smp09
     89smp_screens += smp09/smp09.scn
     90smp_docs += smp09/smp09.doc
     91smp09_SOURCES = smp09/init.c ../support/src/locked_print.c
     92smp09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smp09) \
     93        $(support_includes) -DSMPTEST
     94endif
     95endif
     96
     97if HAS_SMP
     98if TEST_smpaffinity01
     99smp_tests += smpaffinity01
     100smp_screens += smpaffinity01/smpaffinity01.scn
     101smp_docs += smpaffinity01/smpaffinity01.doc
     102smpaffinity01_SOURCES = smpaffinity01/init.c
     103smpaffinity01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpaffinity01) \
     104        $(support_includes)
     105endif
     106endif
     107
     108if HAS_SMP
     109if TEST_smpatomic01
     110smp_tests += smpatomic01
     111smp_screens += smpatomic01/smpatomic01.scn
     112smp_docs += smpatomic01/smpatomic01.doc
     113smpatomic01_SOURCES = smpatomic01/init.c
     114smpatomic01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpatomic01) \
     115        $(support_includes)
     116endif
     117endif
     118
     119if HAS_SMP
     120if TEST_smpcache01
     121smp_tests += smpcache01
     122smp_screens += smpcache01/smpcache01.scn
     123smp_docs += smpcache01/smpcache01.doc
     124smpcache01_SOURCES = smpcache01/init.c
     125smpcache01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpcache01) \
     126        $(support_includes)
     127endif
     128endif
     129
     130if HAS_SMP
     131if TEST_smpcapture01
     132smp_tests += smpcapture01
     133smp_screens += smpcapture01/smpcapture01.scn
     134smp_docs += smpcapture01/smpcapture01.doc
     135smpcapture01_SOURCES = smpcapture01/init.c
     136smpcapture01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpcapture01) \
     137        $(support_includes)
     138endif
     139endif
     140
     141if HAS_SMP
     142if TEST_smpcapture02
     143smp_tests += smpcapture02
     144smp_screens += smpcapture02/smpcapture02.scn
     145smp_docs += smpcapture02/smpcapture02.doc
     146smpcapture02_SOURCES = smpcapture02/init.c
     147smpcapture02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpcapture02) \
     148        $(support_includes)
     149endif
     150endif
     151
     152if HAS_SMP
     153if TEST_smpclock01
     154smp_tests += smpclock01
     155smp_screens += smpclock01/smpclock01.scn
     156smp_docs += smpclock01/smpclock01.doc
     157smpclock01_SOURCES = smpclock01/init.c ../support/src/spin.c
     158smpclock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpclock01) \
     159        $(support_includes)
     160endif
     161endif
     162
     163if HAS_SMP
     164if TEST_smpfatal01
     165smp_tests += smpfatal01
     166smp_screens += smpfatal01/smpfatal01.scn
     167smp_docs += smpfatal01/smpfatal01.doc
     168smpfatal01_SOURCES = smpfatal01/init.c
     169smpfatal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal01) \
     170        $(support_includes)
     171endif
     172endif
     173
     174if HAS_SMP
     175if TEST_smpfatal02
     176smp_tests += smpfatal02
     177smp_screens += smpfatal02/smpfatal02.scn
     178smp_docs += smpfatal02/smpfatal02.doc
     179smpfatal02_SOURCES = smpfatal02/init.c
     180smpfatal02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal02) \
     181        $(support_includes)
     182endif
     183endif
     184
     185if HAS_SMP
     186if TEST_smpfatal03
     187smp_tests += smpfatal03
     188smp_screens += smpfatal03/smpfatal03.scn
     189smp_docs += smpfatal03/smpfatal03.doc
     190smpfatal03_SOURCES = smpfatal03/init.c
     191smpfatal03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal03) \
     192        $(support_includes)
     193endif
     194endif
     195
     196if HAS_SMP
     197if TEST_smpfatal04
     198smp_tests += smpfatal04
     199smp_screens += smpfatal04/smpfatal04.scn
     200smp_docs += smpfatal04/smpfatal04.doc
     201smpfatal04_SOURCES = smpfatal04/init.c
     202smpfatal04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal04) \
     203        $(support_includes)
     204endif
     205endif
     206
     207if HAS_SMP
     208if TEST_smpfatal05
     209smp_tests += smpfatal05
     210smp_screens += smpfatal05/smpfatal05.scn
     211smp_docs += smpfatal05/smpfatal05.doc
     212smpfatal05_SOURCES = smpfatal05/init.c
     213smpfatal05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal05) \
     214        $(support_includes)
     215endif
     216endif
     217
     218if HAS_SMP
     219if TEST_smpfatal06
     220smp_tests += smpfatal06
     221smp_screens += smpfatal06/smpfatal06.scn
     222smp_docs += smpfatal06/smpfatal06.doc
     223smpfatal06_SOURCES = smpfatal06/init.c
     224smpfatal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal06) \
     225        $(support_includes)
     226endif
     227endif
     228
     229if HAS_SMP
     230if TEST_smpfatal08
     231smp_tests += smpfatal08
     232smp_screens += smpfatal08/smpfatal08.scn
     233smp_docs += smpfatal08/smpfatal08.doc
     234smpfatal08_SOURCES = smpfatal08/init.c
     235smpfatal08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal08) \
     236        $(support_includes)
     237endif
     238endif
     239
     240if HAS_SMP
     241if TEST_smpipi01
     242smp_tests += smpipi01
     243smp_screens += smpipi01/smpipi01.scn
     244smp_docs += smpipi01/smpipi01.doc
     245smpipi01_SOURCES = smpipi01/init.c
     246smpipi01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpipi01) \
     247        $(support_includes)
     248endif
     249endif
     250
     251if HAS_SMP
     252if TEST_smpload01
     253smp_tests += smpload01
     254smp_screens += smpload01/smpload01.scn
     255smp_docs += smpload01/smpload01.doc
     256smpload01_SOURCES = smpload01/init.c
     257smpload01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpload01) \
     258        $(support_includes)
     259endif
     260endif
     261
     262if HAS_SMP
     263if TEST_smplock01
     264smp_tests += smplock01
     265smp_screens += smplock01/smplock01.scn
     266smp_docs += smplock01/smplock01.doc
     267smplock01_SOURCES = smplock01/init.c
     268smplock01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smplock01) \
     269        $(support_includes)
     270endif
     271endif
     272
     273if HAS_SMP
     274if TEST_smpmigration01
     275smp_tests += smpmigration01
     276smp_screens += smpmigration01/smpmigration01.scn
     277smp_docs += smpmigration01/smpmigration01.doc
     278smpmigration01_SOURCES = smpmigration01/init.c
     279smpmigration01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpmigration01) \
     280        $(support_includes)
     281endif
     282endif
     283
     284if HAS_SMP
     285if TEST_smpmigration02
     286smp_tests += smpmigration02
     287smp_screens += smpmigration02/smpmigration02.scn
     288smp_docs += smpmigration02/smpmigration02.doc
     289smpmigration02_SOURCES = smpmigration02/init.c
     290smpmigration02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpmigration02) \
     291        $(support_includes)
     292endif
     293endif
     294
     295if HAS_SMP
     296if TEST_smpmrsp01
     297smp_tests += smpmrsp01
     298smp_screens += smpmrsp01/smpmrsp01.scn
     299smp_docs += smpmrsp01/smpmrsp01.doc
     300smpmrsp01_SOURCES = smpmrsp01/init.c
     301smpmrsp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpmrsp01) \
     302        $(support_includes)
     303endif
     304endif
     305
     306if HAS_SMP
     307if TEST_smpmutex01
     308smp_tests += smpmutex01
     309smp_screens += smpmutex01/smpmutex01.scn
     310smp_docs += smpmutex01/smpmutex01.doc
     311smpmutex01_SOURCES = smpmutex01/init.c
     312smpmutex01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpmutex01) \
     313        $(support_includes)
     314endif
     315endif
     316
     317if HAS_SMP
     318if TEST_smpmutex02
     319smp_tests += smpmutex02
     320smp_screens += smpmutex02/smpmutex02.scn
     321smp_docs += smpmutex02/smpmutex02.doc
     322smpmutex02_SOURCES = smpmutex02/init.c
     323smpmutex02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpmutex02) \
     324        $(support_includes)
     325endif
     326endif
     327
     328if HAS_SMP
     329if TEST_smpopenmp01
     330smp_tests += smpopenmp01
     331smp_screens += smpopenmp01/smpopenmp01.scn
     332smp_docs += smpopenmp01/smpopenmp01.doc
     333smpopenmp01_SOURCES = smpopenmp01/init.c
     334smpopenmp01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpopenmp01) \
     335        $(support_includes)
     336smpopenmp01_CFLAGS = $(AM_CFLAGS) -fopenmp
     337endif
     338endif
     339
     340if HAS_SMP
    54341if HAS_POSIX
    55 _SUBDIRS += smppsxaffinity01
    56 _SUBDIRS += smppsxaffinity02
    57 _SUBDIRS += smppsxmutex01
    58 _SUBDIRS += smppsxsignal01
    59 endif
    60 endif
    61 
    62 include $(top_srcdir)/../automake/subdirs.am
     342if TEST_smppsxaffinity01
     343smp_tests += smppsxaffinity01
     344smp_screens += smppsxaffinity01/smppsxaffinity01.scn
     345smp_docs += smppsxaffinity01/smppsxaffinity01.doc
     346smppsxaffinity01_SOURCES = smppsxaffinity01/init.c
     347smppsxaffinity01_CPPFLAGS = $(AM_CPPFLAGS) \
     348        $(TEST_FLAGS_smppsxaffinity01) $(support_includes) \
     349        -I$(top_srcdir)/include
     350endif
     351endif
     352endif
     353
     354if HAS_SMP
     355if HAS_POSIX
     356if TEST_smppsxaffinity02
     357smp_tests += smppsxaffinity02
     358smp_screens += smppsxaffinity02/smppsxaffinity02.scn
     359smp_docs += smppsxaffinity02/smppsxaffinity02.doc
     360smppsxaffinity02_SOURCES = smppsxaffinity02/init.c
     361smppsxaffinity02_CPPFLAGS = $(AM_CPPFLAGS) \
     362        $(TEST_FLAGS_smppsxaffinity02) $(support_includes)
     363endif
     364endif
     365endif
     366
     367if HAS_SMP
     368if HAS_POSIX
     369if TEST_smppsxmutex01
     370smp_tests += smppsxmutex01
     371smp_screens += smppsxmutex01/smppsxmutex01.scn
     372smp_docs += smppsxmutex01/smppsxmutex01.doc
     373smppsxmutex01_SOURCES = smppsxmutex01/init.c
     374smppsxmutex01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smppsxmutex01) \
     375        $(support_includes)
     376endif
     377endif
     378endif
     379
     380if HAS_SMP
     381if HAS_POSIX
     382if TEST_smppsxsignal01
     383smp_tests += smppsxsignal01
     384smp_screens += smppsxsignal01/smppsxsignal01.scn
     385smp_docs += smppsxsignal01/smppsxsignal01.doc
     386smppsxsignal01_SOURCES = smppsxsignal01/init.c
     387smppsxsignal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smppsxsignal01) \
     388        $(support_includes)
     389endif
     390endif
     391endif
     392
     393if HAS_SMP
     394if TEST_smpschedaffinity01
     395smp_tests += smpschedaffinity01
     396smp_screens += smpschedaffinity01/smpschedaffinity01.scn
     397smp_docs += smpschedaffinity01/smpschedaffinity01.doc
     398smpschedaffinity01_SOURCES = smpschedaffinity01/init.c
     399smpschedaffinity01_CPPFLAGS = $(AM_CPPFLAGS) \
     400        $(TEST_FLAGS_smpschedaffinity01) $(support_includes)
     401endif
     402endif
     403
     404if HAS_SMP
     405if TEST_smpschedaffinity02
     406smp_tests += smpschedaffinity02
     407smp_screens += smpschedaffinity02/smpschedaffinity02.scn
     408smp_docs += smpschedaffinity02/smpschedaffinity02.doc
     409smpschedaffinity02_SOURCES = smpschedaffinity02/init.c
     410smpschedaffinity02_CPPFLAGS = $(AM_CPPFLAGS) \
     411        $(TEST_FLAGS_smpschedaffinity02) $(support_includes)
     412endif
     413endif
     414
     415if HAS_SMP
     416if TEST_smpschedaffinity03
     417smp_tests += smpschedaffinity03
     418smp_screens += smpschedaffinity03/smpschedaffinity03.scn
     419smp_docs += smpschedaffinity03/smpschedaffinity03.doc
     420smpschedaffinity03_SOURCES = smpschedaffinity03/init.c
     421smpschedaffinity03_CPPFLAGS = $(AM_CPPFLAGS) \
     422        $(TEST_FLAGS_smpschedaffinity03) $(support_includes)
     423endif
     424endif
     425
     426if HAS_SMP
     427if TEST_smpschedaffinity04
     428smp_tests += smpschedaffinity04
     429smp_screens += smpschedaffinity04/smpschedaffinity04.scn
     430smp_docs += smpschedaffinity04/smpschedaffinity04.doc
     431smpschedaffinity04_SOURCES = smpschedaffinity04/init.c
     432smpschedaffinity04_CPPFLAGS = $(AM_CPPFLAGS) \
     433        $(TEST_FLAGS_smpschedaffinity04) $(support_includes)
     434endif
     435endif
     436
     437if HAS_SMP
     438if TEST_smpschedaffinity05
     439smp_tests += smpschedaffinity05
     440smp_screens += smpschedaffinity05/smpschedaffinity05.scn
     441smp_docs += smpschedaffinity05/smpschedaffinity05.doc
     442smpschedaffinity05_SOURCES = smpschedaffinity05/init.c
     443smpschedaffinity05_CPPFLAGS = $(AM_CPPFLAGS) \
     444        $(TEST_FLAGS_smpschedaffinity05) $(support_includes)
     445endif
     446endif
     447
     448if HAS_SMP
     449if TEST_smpschededf01
     450smp_tests += smpschededf01
     451smp_screens += smpschededf01/smpschededf01.scn
     452smp_docs += smpschededf01/smpschededf01.doc
     453smpschededf01_SOURCES = smpschededf01/init.c
     454smpschededf01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpschededf01) \
     455        $(support_includes)
     456endif
     457endif
     458
     459if HAS_SMP
     460if TEST_smpschededf02
     461smp_tests += smpschededf02
     462smp_screens += smpschededf02/smpschededf02.scn
     463smp_docs += smpschededf02/smpschededf02.doc
     464smpschededf02_SOURCES = smpschededf02/init.c
     465smpschededf02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpschededf02) \
     466        $(support_includes)
     467endif
     468endif
     469
     470if HAS_SMP
     471if TEST_smpschededf03
     472smp_tests += smpschededf03
     473smp_screens += smpschededf03/smpschededf03.scn
     474smp_docs += smpschededf03/smpschededf03.doc
     475smpschededf03_SOURCES = smpschededf03/init.c
     476smpschededf03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpschededf03) \
     477        $(support_includes)
     478endif
     479endif
     480
     481if HAS_SMP
     482if TEST_smpschedsem01
     483smp_tests += smpschedsem01
     484smp_screens += smpschedsem01/smpschedsem01.scn
     485smp_docs += smpschedsem01/smpschedsem01.doc
     486smpschedsem01_SOURCES = smpschedsem01/init.c
     487smpschedsem01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpschedsem01) \
     488        $(support_includes)
     489endif
     490endif
     491
     492if HAS_SMP
     493if TEST_smpscheduler01
     494smp_tests += smpscheduler01
     495smp_screens += smpscheduler01/smpscheduler01.scn
     496smp_docs += smpscheduler01/smpscheduler01.doc
     497smpscheduler01_SOURCES = smpscheduler01/init.c
     498smpscheduler01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler01) \
     499        $(support_includes)
     500endif
     501endif
     502
     503if HAS_SMP
     504if TEST_smpscheduler02
     505smp_tests += smpscheduler02
     506smp_screens += smpscheduler02/smpscheduler02.scn
     507smp_docs += smpscheduler02/smpscheduler02.doc
     508smpscheduler02_SOURCES = smpscheduler02/init.c
     509smpscheduler02_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler02) \
     510        $(support_includes)
     511endif
     512endif
     513
     514if HAS_SMP
     515if TEST_smpscheduler03
     516smp_tests += smpscheduler03
     517smp_screens += smpscheduler03/smpscheduler03.scn
     518smp_docs += smpscheduler03/smpscheduler03.doc
     519smpscheduler03_SOURCES = smpscheduler03/init.c smpscheduler03/test.c
     520smpscheduler03_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler03) \
     521        $(support_includes)
     522endif
     523endif
     524
     525if HAS_SMP
     526if TEST_smpscheduler04
     527smp_tests += smpscheduler04
     528smp_screens += smpscheduler04/smpscheduler04.scn
     529smp_docs += smpscheduler04/smpscheduler04.doc
     530smpscheduler04_SOURCES = smpscheduler04/init.c
     531smpscheduler04_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler04) \
     532        $(support_includes)
     533endif
     534endif
     535
     536if HAS_SMP
     537if TEST_smpscheduler05
     538smp_tests += smpscheduler05
     539smp_screens += smpscheduler05/smpscheduler05.scn
     540smp_docs += smpscheduler05/smpscheduler05.doc
     541smpscheduler05_SOURCES = smpscheduler05/init.c smpscheduler03/test.c
     542smpscheduler05_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler05) \
     543        $(support_includes)
     544endif
     545endif
     546
     547if HAS_SMP
     548if TEST_smpscheduler06
     549smp_tests += smpscheduler06
     550smp_screens += smpscheduler06/smpscheduler06.scn
     551smp_docs += smpscheduler06/smpscheduler06.doc
     552smpscheduler06_SOURCES = smpscheduler06/init.c smpscheduler03/test.c
     553smpscheduler06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler06) \
     554        $(support_includes)
     555endif
     556endif
     557
     558if HAS_SMP
     559if TEST_smpscheduler07
     560smp_tests += smpscheduler07
     561smp_screens += smpscheduler07/smpscheduler07.scn
     562smp_docs += smpscheduler07/smpscheduler07.doc
     563smpscheduler07_SOURCES = smpscheduler07/init.c smpscheduler03/test.c
     564smpscheduler07_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpscheduler07) \
     565        $(support_includes)
     566endif
     567endif
     568
     569if HAS_SMP
     570if TEST_smpsignal01
     571smp_tests += smpsignal01
     572smp_screens += smpsignal01/smpsignal01.scn
     573smp_docs += smpsignal01/smpsignal01.doc
     574smpsignal01_SOURCES = smpsignal01/init.c
     575smpsignal01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpsignal01) \
     576        $(support_includes)
     577endif
     578endif
     579
     580if HAS_SMP
     581if TEST_smpstrongapa01
     582smp_tests += smpstrongapa01
     583smp_screens += smpstrongapa01/smpstrongapa01.scn
     584smp_docs += smpstrongapa01/smpstrongapa01.doc
     585smpstrongapa01_SOURCES = smpstrongapa01/init.c
     586smpstrongapa01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpstrongapa01) \
     587        $(support_includes)
     588endif
     589endif
     590
     591if HAS_SMP
     592if TEST_smpswitchextension01
     593smp_tests += smpswitchextension01
     594smp_screens += smpswitchextension01/smpswitchextension01.scn
     595smp_docs += smpswitchextension01/smpswitchextension01.doc
     596smpswitchextension01_SOURCES = smpswitchextension01/init.c
     597smpswitchextension01_CPPFLAGS = $(AM_CPPFLAGS) \
     598        $(TEST_FLAGS_smpswitchextension01) $(support_includes)
     599endif
     600endif
     601
     602if HAS_SMP
     603if TEST_smpthreadlife01
     604smp_tests += smpthreadlife01
     605smp_screens += smpthreadlife01/smpthreadlife01.scn
     606smp_docs += smpthreadlife01/smpthreadlife01.doc
     607smpthreadlife01_SOURCES = smpthreadlife01/init.c
     608smpthreadlife01_CPPFLAGS = $(AM_CPPFLAGS) \
     609        $(TEST_FLAGS_smpthreadlife01) $(support_includes)
     610endif
     611endif
     612
     613if HAS_SMP
     614if TEST_smpunsupported01
     615smp_tests += smpunsupported01
     616smp_screens += smpunsupported01/smpunsupported01.scn
     617smp_docs += smpunsupported01/smpunsupported01.doc
     618smpunsupported01_SOURCES = smpunsupported01/init.c
     619smpunsupported01_CPPFLAGS = $(AM_CPPFLAGS) \
     620        $(TEST_FLAGS_smpunsupported01) $(support_includes)
     621endif
     622endif
     623
     624if HAS_SMP
     625if TEST_smpwakeafter01
     626smp_tests += smpwakeafter01
     627smp_screens += smpwakeafter01/smpwakeafter01.scn
     628smp_docs += smpwakeafter01/smpwakeafter01.doc
     629smpwakeafter01_SOURCES = smpwakeafter01/init.c
     630smpwakeafter01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpwakeafter01) \
     631        $(support_includes)
     632endif
     633endif
     634
     635rtems_tests_PROGRAMS = $(smp_tests)
     636dist_rtems_tests_DATA = $(smp_screens) $(smp_docs)
     637
    63638include $(top_srcdir)/../automake/local.am
  • testsuites/smptests/configure.ac

    rd027e6bb r8074fa0b  
    3333RTEMS_CHECK_CPUOPTS([RTEMS_SMP])
    3434
    35 AM_CONDITIONAL(SMPTESTS,test "$rtems_cv_RTEMS_SMP" = "yes")
    36 
     35AM_CONDITIONAL(NO_SMP,test "$rtems_cv_RTEMS_SMP" != "yes")
     36AM_CONDITIONAL(HAS_SMP,test "$rtems_cv_RTEMS_SMP" = "yes")
    3737AM_CONDITIONAL([HAS_POSIX],[test x"${rtems_cv_RTEMS_POSIX_API}" = xyes])
    3838
     
    5454  #include <pthread.h>]])
    5555
    56 # Explicitly list all Makefiles here
    57 AC_CONFIG_FILES([Makefile
    58 smpopenmp01/Makefile
    59 smp01/Makefile
    60 smp02/Makefile
    61 smp03/Makefile
    62 smp05/Makefile
    63 smp07/Makefile
    64 smp08/Makefile
    65 smp09/Makefile
    66 smpaffinity01/Makefile
    67 smpatomic01/Makefile
    68 smpcache01/Makefile
    69 smpcapture01/Makefile
    70 smpcapture02/Makefile
    71 smpclock01/Makefile
    72 smpfatal01/Makefile
    73 smpfatal02/Makefile
    74 smpfatal03/Makefile
    75 smpfatal04/Makefile
    76 smpfatal05/Makefile
    77 smpfatal06/Makefile
    78 smpfatal08/Makefile
    79 smpipi01/Makefile
    80 smpload01/Makefile
    81 smplock01/Makefile
    82 smpmigration01/Makefile
    83 smpmigration02/Makefile
    84 smpmrsp01/Makefile
    85 smpmutex01/Makefile
    86 smpmutex02/Makefile
    87 smppsxaffinity01/Makefile
    88 smppsxaffinity02/Makefile
    89 smppsxmutex01/Makefile
    90 smppsxsignal01/Makefile
    91 smpschedaffinity01/Makefile
    92 smpschedaffinity02/Makefile
    93 smpschedaffinity03/Makefile
    94 smpschedaffinity04/Makefile
    95 smpschedaffinity05/Makefile
    96 smpschededf01/Makefile
    97 smpschededf02/Makefile
    98 smpschededf03/Makefile
    99 smpschedsem01/Makefile
    100 smpscheduler01/Makefile
    101 smpscheduler02/Makefile
    102 smpscheduler03/Makefile
    103 smpscheduler04/Makefile
    104 smpscheduler05/Makefile
    105 smpscheduler06/Makefile
    106 smpscheduler07/Makefile
    107 smpsignal01/Makefile
    108 smpstrongapa01/Makefile
    109 smpswitchextension01/Makefile
    110 smpthreadlife01/Makefile
    111 smpunsupported01/Makefile
    112 smpwakeafter01/Makefile
    113 ])
     56# BSP Test configuration
     57RTEMS_TEST_CHECK([smp01])
     58RTEMS_TEST_CHECK([smp02])
     59RTEMS_TEST_CHECK([smp03])
     60RTEMS_TEST_CHECK([smp05])
     61RTEMS_TEST_CHECK([smp07])
     62RTEMS_TEST_CHECK([smp08])
     63RTEMS_TEST_CHECK([smp09])
     64RTEMS_TEST_CHECK([smpaffinity01])
     65RTEMS_TEST_CHECK([smpatomic01])
     66RTEMS_TEST_CHECK([smpcache01])
     67RTEMS_TEST_CHECK([smpcapture01])
     68RTEMS_TEST_CHECK([smpcapture02])
     69RTEMS_TEST_CHECK([smpclock01])
     70RTEMS_TEST_CHECK([smpfatal01])
     71RTEMS_TEST_CHECK([smpfatal02])
     72RTEMS_TEST_CHECK([smpfatal03])
     73RTEMS_TEST_CHECK([smpfatal04])
     74RTEMS_TEST_CHECK([smpfatal05])
     75RTEMS_TEST_CHECK([smpfatal06])
     76RTEMS_TEST_CHECK([smpfatal08])
     77RTEMS_TEST_CHECK([smpipi01])
     78RTEMS_TEST_CHECK([smpload01])
     79RTEMS_TEST_CHECK([smplock01])
     80RTEMS_TEST_CHECK([smpmigration01])
     81RTEMS_TEST_CHECK([smpmigration02])
     82RTEMS_TEST_CHECK([smpmrsp01])
     83RTEMS_TEST_CHECK([smpmutex01])
     84RTEMS_TEST_CHECK([smpmutex02])
     85RTEMS_TEST_CHECK([smpopenmp01])
     86RTEMS_TEST_CHECK([smppsxaffinity01])
     87RTEMS_TEST_CHECK([smppsxaffinity02])
     88RTEMS_TEST_CHECK([smppsxmutex01])
     89RTEMS_TEST_CHECK([smppsxsignal01])
     90RTEMS_TEST_CHECK([smpschedaffinity01])
     91RTEMS_TEST_CHECK([smpschedaffinity02])
     92RTEMS_TEST_CHECK([smpschedaffinity03])
     93RTEMS_TEST_CHECK([smpschedaffinity04])
     94RTEMS_TEST_CHECK([smpschedaffinity05])
     95RTEMS_TEST_CHECK([smpschededf01])
     96RTEMS_TEST_CHECK([smpschededf02])
     97RTEMS_TEST_CHECK([smpschededf03])
     98RTEMS_TEST_CHECK([smpschedsem01])
     99RTEMS_TEST_CHECK([smpscheduler01])
     100RTEMS_TEST_CHECK([smpscheduler02])
     101RTEMS_TEST_CHECK([smpscheduler03])
     102RTEMS_TEST_CHECK([smpscheduler04])
     103RTEMS_TEST_CHECK([smpscheduler05])
     104RTEMS_TEST_CHECK([smpscheduler06])
     105RTEMS_TEST_CHECK([smpscheduler07])
     106RTEMS_TEST_CHECK([smpsignal01])
     107RTEMS_TEST_CHECK([smpstrongapa01])
     108RTEMS_TEST_CHECK([smpswitchextension01])
     109RTEMS_TEST_CHECK([smpthreadlife01])
     110RTEMS_TEST_CHECK([smpunsupported01])
     111RTEMS_TEST_CHECK([smpwakeafter01])
     112
     113AC_CONFIG_FILES([Makefile])
    114114AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.