Run unit-test during development
Andrew Jeffery
andrew at aj.id.au
Fri Dec 17 13:39:35 AEDT 2021
On Fri, 17 Dec 2021, at 13:06, Deng Tyler wrote:
> Hi Patrick:
> I try to build and run unit test repository which support meson such as
> phosphor-logging and phosphor-network. There is dependency issue while
> building them and I wonder it is a bug or my environment issue.
> /openbmc/phosphor-logging$ meson builddir && ninja -C builddir test
...
>
> subprojects/sdbusplus/meson.build:14:0: ERROR: Dependency "libsystemd" not
> found, tried pkgconfig and cmake
You need to run:
sudo apt install libsystemd-dev
Andrew
More information about the openbmc
mailing list