[riot-notifications] [RIOT-OS/RIOT] tools/serial.inc.mk: Support miniterm.py. (#11003)
Juan I Carrano
notifications at github.com
Tue Feb 12 15:40:06 CET 2019
### Contribution description
miniterm.py is a simple terminal program that is included with pyserial. This means that it is available wherever pyterm can work. It allows raw access, does line translation and passes through special characters.
For test scripts, a terminal that does not modify the input and output streams, configured without local echo, is preferred as it ensures the test setup is introducing as few noise as possible.
### Testing procedure
With this change, `tests/shell` uses miniterm.py. Just run the tests. Use a real board, native has no real TTY.
$ cd tests/shell
$ BOARD=samr21-xpro make all
$ BOARD=samr21-xpro make flash
$ BOARD=samr21-xpro make test
### Issues/PRs references
This PR is part of #10994 and it's purpose is to ease shell automation.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* tools/serial.inc.mk: Support miniterm.py.
-- File Changes --
M makefiles/tools/serial.inc.mk (3)
M tests/shell/Makefile (5)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications