Changeset 258bda3 in rtems for testsuites/smptests


Ignore:
Timestamp:
Apr 3, 2017, 10:11:24 PM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
b3bfc242
Parents:
d2a45a58
git-author:
Chris Johns <chrisj@…> (04/03/17 22:11:24)
git-committer:
Chris Johns <chrisj@…> (04/03/17 22:24:22)
Message:

testsuite: Add a common test configuration. Fix configure.ac and Makefile.am errors.

  • Add a top level test configuration file for test states that are common to all BSPs. This saves adding a test configuration (tcfg) file for every BSP.
  • Add the test states 'user-input' and 'benchmark'. This lets 'rtems-test' stop the test rather than waiting for a timeout or letting a benchmark run without the user asking for it to run.
  • Implement rtems-test-check in Python to make it faster. The shell script had grown to a point it was noticably slowing the build down.
  • Fix the configure.ac and Makefile.am files for a number of the test directories. The files are difficiult to keep in sync with the number of tests and mistakes can happen such as tests being left out of the build. The test fsrofs01 is an example. Also a there was a mix of SUBDIRS and _SUBDIRS being used and only _SUBDIRS should be used.
  • Fix the test fsrofs01 so it compiles.

Closes #2963.

Location:
testsuites/smptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/Makefile.am

    rd2a45a58 r258bda3  
    11ACLOCAL_AMFLAGS = -I ../aclocal
    22
    3 SUBDIRS =
     3_SUBDIRS =
    44if 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 += smpschedaffinity01
    34 SUBDIRS += smpschedaffinity02
    35 SUBDIRS += smpschedaffinity03
    36 SUBDIRS += smpschedaffinity04
    37 SUBDIRS += smpschedaffinity05
    38 SUBDIRS += smpscheduler01
    39 SUBDIRS += smpscheduler02
    40 SUBDIRS += smpscheduler03
    41 SUBDIRS += smpscheduler04
    42 SUBDIRS += smpschedsem01
    43 SUBDIRS += smpsignal01
    44 SUBDIRS += smpstrongapa01
    45 SUBDIRS += smpswitchextension01
    46 SUBDIRS += smpthreadlife01
    47 SUBDIRS += smpunsupported01
    48 SUBDIRS += smpwakeafter01
     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 += smppsxaffinity01
     34_SUBDIRS += smppsxaffinity02
     35_SUBDIRS += smpschedaffinity03
     36_SUBDIRS += smpschedaffinity04
     37_SUBDIRS += smpschedaffinity05
     38_SUBDIRS += smpschedsem01
     39_SUBDIRS += smpscheduler01
     40_SUBDIRS += smpscheduler02
     41_SUBDIRS += smpscheduler03
     42_SUBDIRS += smpscheduler04
     43_SUBDIRS += smpsignal01
     44_SUBDIRS += smpstrongapa01
     45_SUBDIRS += smpswitchextension01
     46_SUBDIRS += smpthreadlife01
     47_SUBDIRS += smpunsupported01
     48_SUBDIRS += smpwakeafter01
    4949if HAS_POSIX
    50 SUBDIRS += smppsxaffinity01
    51 SUBDIRS += smppsxaffinity02
    52 SUBDIRS += smppsxmutex01
    53 SUBDIRS += smppsxsignal01
     50_SUBDIRS += smppsxaffinity01
     51_SUBDIRS += smppsxaffinity02
     52_SUBDIRS += smppsxmutex01
     53_SUBDIRS += smppsxsignal01
    5454endif
    5555endif
  • testsuites/smptests/configure.ac

    rd2a45a58 r258bda3  
    5454# Explicitly list all Makefiles here
    5555AC_CONFIG_FILES([Makefile
    56 smpmutex02/Makefile
    57 smppsxmutex01/Makefile
    58 smpstrongapa01/Makefile
    5956smp01/Makefile
    6057smp02/Makefile
     
    8481smpmrsp01/Makefile
    8582smpmutex01/Makefile
     83smpmutex02/Makefile
    8684smppsxaffinity01/Makefile
    8785smppsxaffinity02/Makefile
     86smppsxmutex01/Makefile
    8887smppsxsignal01/Makefile
    8988smpschedaffinity01/Makefile
     
    9291smpschedaffinity04/Makefile
    9392smpschedaffinity05/Makefile
     93smpschedsem01/Makefile
    9494smpscheduler01/Makefile
    9595smpscheduler02/Makefile
    9696smpscheduler03/Makefile
    9797smpscheduler04/Makefile
    98 smpschedsem01/Makefile
    9998smpsignal01/Makefile
     99smpstrongapa01/Makefile
    100100smpswitchextension01/Makefile
    101101smpthreadlife01/Makefile
Note: See TracChangeset for help on using the changeset viewer.