[riot-notifications] [RIOT-OS/RIOT] tests: init RobotFramework and add basic xtimer test (#10843)
notifications at github.com
Mon Jan 28 15:49:50 CET 2019
> It is going in a direction to put the abstraction code as a RobotFramework specific class https://github.com/RIOT-OS/RIOT/pull/10843/files#diff-2756e48a9944cf93cbea221c7c933574
> So forces into this scheme anyway.
That small python wrapper for Xtimer is RF related indeed, at least the following lines are required to handle the imports correctly and auto-generate keywords in RF:
ROBOT_LIBRARY_SCOPE = 'TEST SUITE'
ROBOT_LIBRARY_VERSION = get_version()
However, this does not mean this class/lib cannot be used by another framework. Is there a (simple) way to make the imports and those two variables conditional, i.e. only have them when this file is used with RF?
> And it also does not reuse the normal RIOT way to access the serial port which is `make term` and so fails with `native`, IoT-LAB integration (or any node access through ssh like the Hamburg HIL nodes) and boards that cannot be accessed directly through only a serial. So it does not interact correctly with RIOT and is really specific to your own setup.
I agree, and I'm working on changing this to work with `make term` and thus also allow to use it with IoT-Lab.
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