[riot-notifications] [RIOT-OS/RIOT] tests: init RobotFramework and add basic xtimer test (#10843)

Sebastian Meiling notifications at github.com
Tue Jan 22 13:55:14 CET 2019


<!--
The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.
-->

### Contribution description

This introduces common files to enable RobotFramework based (HIL) tests in RIOT.
It also ships a very basic xtimer test application utilising the RobotFramework.
The latter will be extended later on, but should give others a starting point to see how to
use RF with RIOT.

RF tests (currently) run from a distinct make target, i.e. `robot-test`; so will not interfere with existing tests. This might be changed later on, but for now it should ease introduction of RF tests w/o breaking existing stuff.

### Testing procedure

Currently this only works for real boards connected via serial, so connect you favourite board and run

```
BOARD=<name> make -C tests/xtimer_cli flash robot-test
```

### Issues/PRs references

- replaces #10095
- partly implements stuff from #10624
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * tests: initial robotframework integration
  * tests: add initial xtimer robot test

-- File Changes --

    A dist/robotframework/README.md (53)
    A dist/robotframework/lib/PhilipAPI.py (21)
    A dist/robotframework/requirements.txt (3)
    A dist/robotframework/res/api_shell.keywords.txt (45)
    A dist/robotframework/res/philip.keywords.txt (11)
    A dist/robotframework/res/riot_base.keywords.txt (16)
    A makefiles/robotframework.inc.mk (24)
    M tests/Makefile.tests_common (2)
    A tests/xtimer_cli/Makefile (8)
    A tests/xtimer_cli/README.md (14)
    A tests/xtimer_cli/main.c (62)
    A tests/xtimer_cli/tests/01__xtimer_base.robot (27)
    A tests/xtimer_cli/tests/Xtimer.py (63)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/10843.patch
https://github.com/RIOT-OS/RIOT/pull/10843.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/10843
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190122/8ebbab3d/attachment-0001.html>


More information about the notifications mailing list