This directory provides all of the RTEMS Test Suite
except those for the Classic API Ada95 binding
This includes the single processor tests, multiprocessor tests,
timing tests, library tests, and sample tests. Additionally,
subdirectories for support functions and test related header
files are provided. The following table lists the test suites
currently included with the RTEMS and the directory in which
they may be located:
${RTEMS_ROOT}/c/src/tests/itrontests/
This directory contains the test suite for the
RTEMS ITRON API.
${RTEMS_ROOT}/c/src/tests/libtests/
This directory contains the test suite for the
various RTEMS support components.
${RTEMS_ROOT}/c/src/tests/mptests/
This directory contains the test suite for the
multiprocessor support in the Classic API.
The tests provided address two node configurations
and provide coverage for the multiprocessor code found
in RTEMS.
${RTEMS_ROOT}/c/src/tests/psxtests/
This directory contains the test suite for the
RTEMS POSIX API.
${RTEMS_ROOT}/c/src/tests/samples/
This directory provides sample application tests
which aid in the testing a newly built RTEMS environment, a new
BSP, or as starting points for the development of an application
using the RTEMS executive. They are discussed in
Sample Applications.
${RTEMS_ROOT}/c/src/tests/sptests/
This directory contains the test suite for the RTEMS
Classic API when executing on a single processor.
The tests were originally designed to provide
near complete test coverage for the the entire
executive code. With the addition of multiple APIs,
this is no longer the case as some SuperCore functionality
is not available through the Classic API. Thus
some functionality in the SuperCore is only covered
by tests in the POSIX API and ITRON API Test Suites.
${RTEMS_ROOT}/c/src/tests/support/
This directory contains support software and header files
for the various test suites.
${RTEMS_ROOT}/c/src/tests/tmitrontests/
This directory contains the timing test suite for
the RTEMS ITRON API.
${RTEMS_ROOT}/c/src/tests/tmtests/
This directory contains the timing test suite for
the RTEMS Classic API. This include tests that
benchmark each directive in the Classic API
as well as a set of critical SuperCore functions.
These tests are important for helping to verify
that RTEMS performs as expected on your target hardware.
It is not uncommon to discover mistakes in board
initialization such as caching being disabled as
a side-effect of analyzing the results of these tests.
${RTEMS_ROOT}/c/src/tests/tools/
This directory contains tools which execute on
the development host and aid in executing and
evaluating the results of the test suite. The
tools difftest compares the output of one
or more tests with the expected output. If you
place the output of all the tmtests/ in
a single file, then the utility sorttimes
will be able to produce a report organizing the
execution times by manager.