source: rtems-tools/README @ 7e5cdea

5
Last change on this file since 7e5cdea was 7e5cdea, checked in by Chris Johns <chrisj@…>, on 11/23/18 at 04:02:52

rtemstoolkit: Add unit testing for the python modules

  • Add support to run the unit tests for the rtemstoolkit python modules from waf. Enter './waf test' for the tests to be run on python2 and python3.
  • Update the importing of rtemstoolkit modules to the standard method which works on python2 and python3.
  • Update the README.
  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[11d4b89]1RTEMS Tools Project
2
3Chris Johns <chrisj@rtems.org>
4
5The RTEMS Tools Project is a collection of tools to help you use RTEMS. The
6package is self contained and if in a release package format is specific to an
7RTEMS release and if in the git repo is a development version.
8
9All tools are distributed as source code. They should work on a range of host
10computers. Windows support may be via cross building on suitable Unix systems.
11
12The tools contained in this package each come with documentation so please
[4dbd0db]13locate and refer to that.
[11d4b89]14
15The RTEMS Tools Project has been developed for the RTEMS Project however these
[4dbd0db]16tools can be used for a range of things not related to RTEMS. The RTEMS Project
17welcomes this.
[11d4b89]18
[749ddf1]19If you have a problem or question post to user@rtems.org or visit the RTEMS IRC
20channel #rtems on chat.freenode.net. Drop by and tell us if you are using these
21tools for other uses.
[11d4b89]22
[4dbd0db]23If you have any patches please post them to the devel@rtems.org mailing list in
24git format patches with your details.
[749ddf1]25
26Building
27--------
28
29To build and install:
30
[7e5cdea]31 $ ./waf configure --prefix=$HOME/development/rtems/5
[749ddf1]32 $ ./waf build install
33
[7e5cdea]34Testing
35-------
36
37To the run the tests build then enter:
38
39 $ ./waf test
40
41Python
42------
43
44The RTEMS Tools supports python3 and python2. The commands look for python3,
45then python2 and finally python and use the first it finds.
46
47You can forced a specific version for testing by setting the environment
48variable 'RTEMS_PYTHON_OVERRIDE' to the python you want to use. For example:
49
50 $ export RTEMS_PYTHON_OVERRIDE=python2
51
52will use python2.
53
[749ddf1]54Waf
55---
56
57The Waf project can be found here:
58
59 http://code.google.com/p/waf/
Note: See TracBrowser for help on using the repository browser.