summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/building.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/building.rst b/doc/source/building.rst
index d80cded..ccfa0c8 100644
--- a/doc/source/building.rst
+++ b/doc/source/building.rst
@@ -181,3 +181,12 @@ You can compile an eCos program with a procedure similar to the following listin
# Use objcopy to generate a binary
arm-eabi-objcopy -O binary a.out hello.bin
+Tests
+-----
+
+ECos is shipped with a test suite - in essence a set of simple programs checking various subsystems and interfaces - which can be easily compiled and run on the target.
+These tests were used in the porting effort, and many (although not all) of them can be used as bases for user programs.
+
+In order to compile tests, use the same procedure as described in :ref:`build-kernel`, but issue ``make tests`` instead of ``make`` at the end.
+
+The resulting tests will reside in the ``build-tree/install/tests`` directory.