14 Commits

Author SHA1 Message Date
Alex White
6b31bb03aa rtemstoolkit/mailer.py: Fix parsing of options with no optarg 2021-11-12 08:25:48 -06:00
Alex White
ba4648bf68 rtems-bsp-builder: Fix mail support
This fixes a problem with mailer options support that occurred because
check.py uses argparse.ArgumentParser instead of tester.rt.options.
2021-10-29 16:44:02 -05:00
Alex White
f18e6d8e15 rtemstoolkit/mailer.py: Fix option ordering for add_arguments
The ordering of keys cannot be guaranteed in a dictionary. This changes
the options iteration to no longer rely on key ordering.

Closes #4402
2021-05-10 10:39:39 -05:00
Alex White
82b752a438 rtemstoolkit/mailer.py: Add --use-gitconfig option
This adds the option to pull mail-related configuration values from the
user's git configuration.

Closes #4384
2021-04-14 09:32:11 -05:00
Alex White
3b1407fb20 rtemstoolkit/mailer.py: Add SMTP login options
This adds more options so that the user can authenticate with the SMTP
server.

Updates #4384
2021-04-13 16:44:42 -05:00
Alex White
1a575af817 rtemstoolkit/mailer.py: Return full smtp-host arg value
This fixes mail.smtp_host() so that it returns the full argument value
rather than just the second character.

Updates #4384
2021-04-13 16:44:42 -05:00
Joel Sherrill
9277878fed rtemstoolkit/mailer.py: Check for no --smtp-host arg being provided 2019-02-21 17:52:49 -06:00
Chris Johns
571db94df5 rtemstoolkit: Fix mailer unittest. 2018-11-28 20:27:50 +11:00
Chris Johns
7e5cdeaabe 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.
2018-11-23 15:02:52 +11:00
Chris Johns
7051ba5b19 bsb-builder: Add email support, and config report types. 2017-10-22 18:56:26 +11:00
Chris Johns
dc5de5f299 rtemstoolkit: Update the mailer module to the option interface. 2017-10-12 06:11:16 +11:00
Chris Johns
b0fa2ae998 Update rtems-tool to support Python 2 and 3.
Add solaris and netbsd.

Close #2619.
2016-03-03 16:53:39 +11:00
Sebastian Huber
04a52040ae Python 3 compatibility 2015-11-12 11:15:23 +01:00
Chris Johns
50fdf12244 rt: Add the rtems-tester. 2014-02-15 06:30:06 +11:00