Re: [libgpiod][PATCH] tools: tests: port tests to shunit2

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

 



On Thu Jun 22, 2023 at 4:10 PM CEST, Bartosz Golaszewski wrote:
> On Thu, Jun 22, 2023 at 4:07 PM Erik Schilling
> <erik.schilling@xxxxxxxxxx> wrote:
> >
> > Just took a look at this since I am looking for ways to invoke the Rust
> > binding tests...
> >
> > On Tue Jun 20, 2023 at 2:41 PM CEST, Bartosz Golaszewski wrote:
> > > +# Check all required non-coreutils tools
> > > +check_prog shunit2
> > > [...]
> > > +. shunit2
> >
> > Hm... How does this work for you? Under Fedora shunit2 seems to be
> > packaged to install into /usr/share/shunit2. The installed examples of
> > the package are sourcing that. So the check_prog check fails since there
> > is no binary in $PATH and the . shunit2 fails since there is no shunit2
> > in $PWD.
> >
> > Am I missing some necessary setup step?
> >
> > - Erik
> >
>
> On ubuntu and debian it's shipped in /usr/bin/shunit2 as it should.
> Upstream docs suggest using it as an executable as one of two
> supported ways (next to sourcing) so it should definitely go into
> /usr/bin/. I think it's just a fedora quirk. Maybe suggest a change?

Done: https://bugzilla.redhat.com/show_bug.cgi?id=2216783

- Erik




[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