source: rtems-tools/README @ 6d30de6

5
Last change on this file since 6d30de6 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
Line 
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
13locate and refer to that.
14
15The RTEMS Tools Project has been developed for the RTEMS Project however these
16tools can be used for a range of things not related to RTEMS. The RTEMS Project
17welcomes this.
18
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.
22
23If you have any patches please post them to the devel@rtems.org mailing list in
24git format patches with your details.
25
26Building
27--------
28
29To build and install:
30
31 $ ./waf configure --prefix=$HOME/development/rtems/5
32 $ ./waf build install
33
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
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.