Re: [PATCH V4 0/8] libgpiod: Add Rust bindings

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

 



On Sat, Jul 16, 2022 at 11:43 AM Miguel Ojeda
<miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>
> On Fri, Jul 15, 2022 at 9:27 PM Miguel Ojeda
> <miguel.ojeda.sandonis@xxxxxxxxx> wrote:
> >
> > something like `cargo --no-run` as a normal user).
>
> Sorry, that was intended to be `cargo test --no-run` (and the test
> binary will be in `target/debug/deps`). Also note that is only for the
> unit tests, though, not doctests. It can get more involved for those
> if you want to avoid to run Cargo/rustdoc as root.
>
> Hope that helps!
>
> Cheers,
> Miguel

This does seem to build the test-suite but there's no single
executable in target/debug/deps. Instead it seems that every test
section gets its own executable. Does 'cargo test' run them
separately? Or is there a single binary including all of them
somewhere else?

Bart



[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