summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gielda <mgielda@antmicro.com>2014-04-12 01:29:14 +0200
committerMichael Gielda <mgielda@antmicro.com>2014-04-12 01:29:14 +0200
commit52ecbb4ddce66ddebc45c787af72873ba61dd9f7 (patch)
tree1e5c0bb701388b885d53c1a02328e310a28585c5
parent6ae88de040d098725b2616d8d446f645133a6ced (diff)
Added how to compile tests, closes #3
-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.