On Wed, Nov 9, 2022 at 10:31 AM Bartosz Golaszewski brgl@bgdev.pl wrote:
On Mon, Nov 7, 2022 at 10:58 AM Viresh Kumar viresh.kumar@linaro.org wrote:
Add tests for the rust bindings, quite similar to the ones in cxx bindings.
Signed-off-by: Viresh Kumar viresh.kumar@linaro.org
Without modifying udev rules on my system - is there a one-liner I could use to launch the tests? I guess using cargo as sudo is wrong but the executables are there so can I somehow run them all at once as if running `cargo test`?
What I think the DevOps:y people do is run tests as root but in some virtualized or containerized machine. I don't know how well that approach works with gpiosim though, virtualized probably, containerized hardly, GPIO is just too real.
Yours, Linus Walleij