Changeset 258bda3 in rtems for testsuites/samples


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/samples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/samples/Makefile.am

    rd2a45a58 r258bda3  
    11ACLOCAL_AMFLAGS = -I ../aclocal
    22
    3 _SUBDIRS = hello capture ticker base_sp unlimited minimum fileio
     3_SUBDIRS  =
     4_SUBDIRS += base_sp
     5_SUBDIRS += capture
     6_SUBDIRS += fileio
     7_SUBDIRS += hello
     8_SUBDIRS += minimum
     9_SUBDIRS += nsecs
     10_SUBDIRS += paranoia
     11_SUBDIRS += ticker
     12_SUBDIRS += unlimited
    413
    514if MPTESTS
     
    817endif
    918
    10 _SUBDIRS += paranoia
    11 
    12 _SUBDIRS += nsecs
    13 
    1419if CXXTESTS
    15 _SUBDIRS += iostream cdtest
     20_SUBDIRS += cdtest
     21_SUBDIRS += iostream
    1622endif
    1723
     
    2531endif
    2632
    27 include $(top_srcdir)/../automake/test-subdirs.am
     33include $(top_srcdir)/../automake/subdirs.am
    2834include $(top_srcdir)/../automake/local.am
  • testsuites/samples/configure.ac

    rd2a45a58 r258bda3  
    3838  [AC_COMPILE_IFELSE(
    3939    [AC_LANG_PROGRAM(
    40       [[#include <iostream>]], 
     40      [[#include <iostream>]],
    4141      [[std::cout << "hello" << std::endl;]])
    4242    ],
     
    6161# Explicitly list all Makefiles here
    6262AC_CONFIG_FILES([Makefile
    63 base_sp/Makefile
    64 hello/Makefile
    65 loopback/Makefile
    66 minimum/Makefile
    67 fileio/Makefile
    68 nsecs/Makefile
    69 paranoia/Makefile
    70 ticker/Makefile
    71 unlimited/Makefile
    7263base_mp/Makefile
    7364base_mp/node1/Makefile
    7465base_mp/node2/Makefile
     66base_sp/Makefile
     67capture/Makefile
     68cdtest/Makefile
     69fileio/Makefile
     70hello/Makefile
    7571iostream/Makefile
    76 cdtest/Makefile
     72loopback/Makefile
     73minimum/Makefile
     74nsecs/Makefile
     75paranoia/Makefile
    7776pppd/Makefile
    78 capture/Makefile
     77ticker/Makefile
     78unlimited/Makefile
    7979])
    8080AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.