source: rtems-docs/user/testing/index.rst @ 8b67c91

5
Last change on this file since 8b67c91 was 8b67c91, checked in by Chris Johns <chrisj@…>, on 05/19/18 at 20:32:42

user: Add RTEMS executable and test documentation.

  • Property mode set to 100644
File size: 2.0 KB
Line 
1.. comment SPDX-License-Identifier: CC-BY-SA-4.0
2
3.. comment: Copyright (c) 2018 Chris Johns <chrisj@rtems.org>
4.. comment: All rights reserved.
5
6Testing
7*******
8
9RTEMS developers run test executables when adding new features or testing a bug
10fix. All tests are run to make sure changes do not introduce regressions. Users
11can run the RTEMS tests to be certain the build of the kernel they have is
12functioning.
13
14The section describes using and configuring the RTEMS Tester and RTEMS Run
15tools, the types of laboratory set ups supported and how to add your BSP to the
16framework. The tools command line interfaces are detailed in
17:ref:`rtems-tester-command`.
18
19An RTEMS Test is an RTEMS executable where the application code is a
20test. Tests in RTEMS print banners to the console to indicate the configuration
21of the test and if it has start and finished.
22
23The RTEMS Tools Project provides the RTEMS Tester and RTEMS Run tools. The
24RTEMS Tester command is ``rtems-test`` and the RTEMS Run command is
25``rtems-run``. These commands manage the complexity of running embedded
26executables. The commands provide a consistent command line interface to a
27testing framework that supports the various run time and testing scenarios we
28encounter such as simulators, GDB and executing directly on target hardware.
29
30The RTEMS kernel code contains an extensive set of tests to exercise and test
31the RTEMS kernel. The tests check functionality, provide coverage testing and
32make sure the kernel is operating as intended on your target system. The
33testsuite has support to make creating a test simple and uniform.
34
35The tests are built by adding ``--enable-tests`` to the RTEMS build
36configuration command line. There are over 600 tests and building them does
37extend the RTEMS kernel's build time and use more disk space but it worth
38building and running them. The RTEMS test executables have the ``.exe`` file
39extension.
40
41.. include:: tests.rst
42.. include:: configuration.rst
43.. include:: consoles.rst
44.. include:: simulation.rst
45.. include:: gdb-jtag.rst
46.. include:: tftp.rst
Note: See TracBrowser for help on using the repository browser.