Re: [libgpiod][PATCH V9 7/8] bindings: rust: Add tests for libgpiod crate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 9, 2022 at 10:31 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> On Mon, Nov 7, 2022 at 10:58 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> >
> > Add tests for the rust bindings, quite similar to the ones in cxx
> > bindings.
> >
> > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
>
> 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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux