From 258bda306ba25741624488d24a2785c055a9fab0 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 4 Apr 2017 08:11:24 +1000 Subject: 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. --- testsuites/testdata/rtems.tcfg | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testsuites/testdata/rtems.tcfg (limited to 'testsuites/testdata') diff --git a/testsuites/testdata/rtems.tcfg b/testsuites/testdata/rtems.tcfg new file mode 100644 index 0000000000..255a5e1e86 --- /dev/null +++ b/testsuites/testdata/rtems.tcfg @@ -0,0 +1,28 @@ +# +# RTEMS Test Database common defines +# +# Format is one line per test with a directive. The directives are: +# +# include: Include the test configuration file after this file +# has been processed. +# exclude: Exclude the test from being build and so run. +# user-input: The test requires user input to work. +# indeterminate: The test result cannot be determined, it may pass or +# it may not pass. +# + +# +# User input tests. +# +user-input: capture +user-input: fileio +user-input: monitor +user-input: termios +user-input: top + +# +# Benchmarks +# +benchmark: dhrystone +benchmark: linpack +benchmark: whetstone -- cgit v1.2.3