[riot-notifications] [RIOT-OS/RIOT] [WIP] tests/test_tools: add a test for the testing tools environment (#11094)

Gaëtan Harter notifications at github.com
Mon Mar 4 13:38:16 CET 2019


### Contribution description

Check the interaction with a board through make term.
It is using a shell without echo or prompt for reference.
    
It currently checks that there is no local echo.

#### Warning

This is currently not ready for merging as it is waiting for a fix on `make term`.
But it should show the issue. I removed the test from #10952 so made this pull request for tracking the issue.


### Testing procedure

Testing on all the different environments.

There is currently a HACK for `picocom` which should be correctly fixed.

```
BOARD=native make -C tests/test_tools/ flash test
BOARD=samr21-xpro make -C tests/test_tools/ flash test
BOARD=samr21-xpro RIOT_TERMINAL=picocom make -C tests/test_tools/ flash test
```

### Issues/PRs references

Test split out of https://github.com/RIOT-OS/RIOT/pull/10952
Found while writing tests in https://github.com/RIOT-OS/RIOT/pull/10949

Depends on : "adding make rawterm"
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11094

-- Commit Summary --

  * testrunner: disable local echo
  * tests/test_tools: add a test for the testing tools environment
  * FIX ME PROPERLY HACK to remove local echo on murdock for samr-21

-- File Changes --

    M dist/pythonlibs/testrunner/spawn.py (7)
    A tests/test_tools/Makefile (11)
    A tests/test_tools/README.md (8)
    A tests/test_tools/main.c (82)
    A tests/test_tools/tests/01-run.py (60)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11094.patch
https://github.com/RIOT-OS/RIOT/pull/11094.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11094
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190304/49976847/attachment-0001.html>


More information about the notifications mailing list