diff options
author | Chris Johns <chrisj@rtems.org> | 2017-04-04 08:11:24 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-04-04 08:24:22 +1000 |
commit | 258bda306ba25741624488d24a2785c055a9fab0 (patch) | |
tree | 66301d9e50cf6dbc08539b441cab8b41ffe2f895 /testsuites/smptests | |
parent | d2a45a58aa9b2d739daa3768af2864effc8f3660 (diff) |
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.
Diffstat (limited to 'testsuites/smptests')
-rw-r--r-- | testsuites/smptests/Makefile.am | 98 | ||||
-rw-r--r-- | testsuites/smptests/configure.ac | 8 |
2 files changed, 53 insertions, 53 deletions
diff --git a/testsuites/smptests/Makefile.am b/testsuites/smptests/Makefile.am index ba5b35f973..76c02e72d8 100644 --- a/testsuites/smptests/Makefile.am +++ b/testsuites/smptests/Makefile.am @@ -1,56 +1,56 @@ ACLOCAL_AMFLAGS = -I ../aclocal -SUBDIRS = +_SUBDIRS = if SMPTESTS -SUBDIRS += smp01 -SUBDIRS += smp02 -SUBDIRS += smp03 -SUBDIRS += smp05 -SUBDIRS += smp07 -SUBDIRS += smp08 -SUBDIRS += smp09 -SUBDIRS += smpaffinity01 -SUBDIRS += smpatomic01 -SUBDIRS += smpcache01 -SUBDIRS += smpcapture01 -SUBDIRS += smpcapture02 -SUBDIRS += smpclock01 -SUBDIRS += smpfatal01 -SUBDIRS += smpfatal02 -SUBDIRS += smpfatal03 -SUBDIRS += smpfatal04 -SUBDIRS += smpfatal05 -SUBDIRS += smpfatal06 -SUBDIRS += smpfatal08 -SUBDIRS += smpipi01 -SUBDIRS += smpload01 -SUBDIRS += smplock01 -SUBDIRS += smpmigration01 -SUBDIRS += smpmigration02 -SUBDIRS += smpmrsp01 -SUBDIRS += smpmutex01 -SUBDIRS += smpmutex02 -SUBDIRS += smpschedaffinity01 -SUBDIRS += smpschedaffinity02 -SUBDIRS += smpschedaffinity03 -SUBDIRS += smpschedaffinity04 -SUBDIRS += smpschedaffinity05 -SUBDIRS += smpscheduler01 -SUBDIRS += smpscheduler02 -SUBDIRS += smpscheduler03 -SUBDIRS += smpscheduler04 -SUBDIRS += smpschedsem01 -SUBDIRS += smpsignal01 -SUBDIRS += smpstrongapa01 -SUBDIRS += smpswitchextension01 -SUBDIRS += smpthreadlife01 -SUBDIRS += smpunsupported01 -SUBDIRS += smpwakeafter01 +_SUBDIRS += smp01 +_SUBDIRS += smp02 +_SUBDIRS += smp03 +_SUBDIRS += smp05 +_SUBDIRS += smp07 +_SUBDIRS += smp08 +_SUBDIRS += smp09 +_SUBDIRS += smpaffinity01 +_SUBDIRS += smpatomic01 +_SUBDIRS += smpcache01 +_SUBDIRS += smpcapture01 +_SUBDIRS += smpcapture02 +_SUBDIRS += smpclock01 +_SUBDIRS += smpfatal01 +_SUBDIRS += smpfatal02 +_SUBDIRS += smpfatal03 +_SUBDIRS += smpfatal04 +_SUBDIRS += smpfatal05 +_SUBDIRS += smpfatal06 +_SUBDIRS += smpfatal08 +_SUBDIRS += smpipi01 +_SUBDIRS += smpload01 +_SUBDIRS += smplock01 +_SUBDIRS += smpmigration01 +_SUBDIRS += smpmigration02 +_SUBDIRS += smpmrsp01 +_SUBDIRS += smpmutex01 +_SUBDIRS += smpmutex02 +_SUBDIRS += smppsxaffinity01 +_SUBDIRS += smppsxaffinity02 +_SUBDIRS += smpschedaffinity03 +_SUBDIRS += smpschedaffinity04 +_SUBDIRS += smpschedaffinity05 +_SUBDIRS += smpschedsem01 +_SUBDIRS += smpscheduler01 +_SUBDIRS += smpscheduler02 +_SUBDIRS += smpscheduler03 +_SUBDIRS += smpscheduler04 +_SUBDIRS += smpsignal01 +_SUBDIRS += smpstrongapa01 +_SUBDIRS += smpswitchextension01 +_SUBDIRS += smpthreadlife01 +_SUBDIRS += smpunsupported01 +_SUBDIRS += smpwakeafter01 if HAS_POSIX -SUBDIRS += smppsxaffinity01 -SUBDIRS += smppsxaffinity02 -SUBDIRS += smppsxmutex01 -SUBDIRS += smppsxsignal01 +_SUBDIRS += smppsxaffinity01 +_SUBDIRS += smppsxaffinity02 +_SUBDIRS += smppsxmutex01 +_SUBDIRS += smppsxsignal01 endif endif diff --git a/testsuites/smptests/configure.ac b/testsuites/smptests/configure.ac index f242b0b264..434fe8dad7 100644 --- a/testsuites/smptests/configure.ac +++ b/testsuites/smptests/configure.ac @@ -53,9 +53,6 @@ AC_CHECK_DECLS([pthread_getattr_np],[],[],[[ # Explicitly list all Makefiles here AC_CONFIG_FILES([Makefile -smpmutex02/Makefile -smppsxmutex01/Makefile -smpstrongapa01/Makefile smp01/Makefile smp02/Makefile smp03/Makefile @@ -83,20 +80,23 @@ smpmigration01/Makefile smpmigration02/Makefile smpmrsp01/Makefile smpmutex01/Makefile +smpmutex02/Makefile smppsxaffinity01/Makefile smppsxaffinity02/Makefile +smppsxmutex01/Makefile smppsxsignal01/Makefile smpschedaffinity01/Makefile smpschedaffinity02/Makefile smpschedaffinity03/Makefile smpschedaffinity04/Makefile smpschedaffinity05/Makefile +smpschedsem01/Makefile smpscheduler01/Makefile smpscheduler02/Makefile smpscheduler03/Makefile smpscheduler04/Makefile -smpschedsem01/Makefile smpsignal01/Makefile +smpstrongapa01/Makefile smpswitchextension01/Makefile smpthreadlife01/Makefile smpunsupported01/Makefile |