RIOT-OS / RobotFW-tests

Includes tests for RIOT based on the Robot Framework
GNU Lesser General Public License v2.1
4 stars 13 forks source link

tests: generalise reset keyword #13

Closed smlng closed 5 years ago

smlng commented 5 years ago

This PR removes a special (Philip based) reset command and relies on make reset provided by RIOT which can be replaces by setting env variables if needed.

Also renames the other reset command to reflect that it uses RIOT.

smlng commented 5 years ago

@MrKevinWeiss: I added a generic reset script which uses the current Philip_pal release.

MrKevinWeiss commented 5 years ago

Any way to call this by default for the tests that will require it (everything but xtimer) or at least documentation on how to call add it?

MrKevinWeiss commented 5 years ago

So it works with make reset, if I want to overwrite philip to use reset_dut how would I do that?

RESET='python3 -m philip_pal --dut_reset' RESET_WAIT=0 make robot-test -C tests/periph_i2c?

smlng commented 5 years ago

yep something like that, I will add/extend documentation once I played around with it and tested some more

MrKevinWeiss commented 5 years ago

Thanks! (that doesn't actually work though, but I may need to keep playing around)