diff options
author | Chris Johns <chrisj@rtems.org> | 2018-11-23 15:02:52 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-11-23 15:02:52 +1100 |
commit | 7e5cdeaabeaa95b8533af626b99a43c93e5ecf6f (patch) | |
tree | 2ecd175bb744024567e6823353cd50b795604b35 /rtemstoolkit/__init__.py | |
parent | rtemstoolkit/execute: Use buffered output and improve performance (diff) | |
download | rtems-tools-7e5cdeaabeaa95b8533af626b99a43c93e5ecf6f.tar.bz2 |
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.
Diffstat (limited to 'rtemstoolkit/__init__.py')
-rw-r--r-- | rtemstoolkit/__init__.py | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/rtemstoolkit/__init__.py b/rtemstoolkit/__init__.py index 6878782..207698a 100644 --- a/rtemstoolkit/__init__.py +++ b/rtemstoolkit/__init__.py @@ -46,20 +46,12 @@ all = ['check', 'textbox', 'version'] -from . import check -from . import config -from . import configuration -from . import error -from . import execute -from . import git -from . import host -from . import log -from . import macros -from . import mailer -from . import options -from . import path -from . import reraise -from . import rtems -from . import stacktraces -from . import textbox -from . import version +args = { + 'config': ['--file', 'tester/rtems/version.cfg', + '--jobs', 'half', + '--no-clean'], + 'mailer': ['--smtp-host', '1.2.3.4', + '--mail-to', 'foo@bar.none', + '--mail-from', 'me@here.there'] + +} |