|author||Michael Gielda <firstname.lastname@example.org>||2014-04-12 01:29:14 +0200|
|committer||Michael Gielda <email@example.com>||2014-04-12 01:29:14 +0200|
Added how to compile tests, closes #3
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/building.rst b/doc/source/building.rst
index d80cded..ccfa0c8 100644
@@ -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
+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.