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