From 52ecbb4ddce66ddebc45c787af72873ba61dd9f7 Mon Sep 17 00:00:00 2001 From: Michael Gielda Date: Sat, 12 Apr 2014 01:29:14 +0200 Subject: Added how to compile tests, closes #3 --- doc/source/building.rst | 9 +++++++++ 1 file changed, 9 insertions(+) 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. -- cgit v1.2.3