OAR

RTEMS 4.0.0 On-Line Library


Test Suite Source Directory

PREV UP NEXT Bookshelf RTEMS Development Environment Guide

2.1.4: Test Suite Source Directory

The "tests" directory structure for the C implementation is as follows:

                                C Tests
                                   |
   +----------+---------+----------+---------+---------+---------+
   |          |         |          |         |         |         |
libtests   sptests   support    tmtests   mptests    tools    samples

This directory provides the entire RTEMS Test Suite which 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 "sptests" subdirectory consists of twenty-four tests designed to cover the entire executive code. The "spfatal" test will verify any code associated with the occurrence of a fatal error. Also provided is a test which will determine the size of the RTEMS executive.

The multiprocessor test are provided in "mptests". Fourteen tests are provided in this subdirectory which address two node configurations and cover the multiprocessor code found in RTEMS.

Tests that time each directive and a set of critical executive functions are provided in the "tmtests" subdirectory. Within this subdirectory thirty-one tests are provided along with a subdirectory to contain each targets timing results.

The "samples" directory structure for the C implementation is as follows:

                            C Samples
                                |
   +-----------+----------+-----+-----+----------+----------+
   |           |          |           |          |          |
base_mp     base_sp    cdtest       hello     paranoia    ticker

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. A Hello World test is provided in the subdirectory "hello". This test is helpful when testing new versions of RTEMS, BSPs, or modifications to any portion of the RTEMS development environment. The "ticker" subdirectory provides a test for verification of clock chip device drivers of BSPs. A simple single processor test similar to those in the single processor test suite is provided in "base_sp". A simple two node multiprocessor test capable of testing an newly developed MPCI layer is provided in "base_mp". The "cdtest" subdirectory provides a simple C++ application using constructors and destructors. The final sample test is a public domain floating point and math library toolset test is provided in "paranoia".


PREV UP NEXT Bookshelf RTEMS Development Environment Guide

Copyright © 1988-1998 OAR Corporation