[LTP] [PATCH v3 2/8] Add 'make check' to the build system

Petr Vorel pvorel@suse.cz
Fri Aug 27 14:06:12 CEST 2021


Hi Richie,

I see 'make check' requires all to have headers/dependencies installed, is that wanted?

$ make check
...
route-change-netlink.c:13:11: error: unable to open 'libmnl/libmnl.h'

<libmnl/libmnl.h> is guarded by #ifdef HAVE_LIBMNL (config.h). Maybe there is a
way to pass it to sparse. But that'd silently prevent to check code we want to
check, thus it's probably better to just require to have everything installed.

Kind regards,
Petr


More information about the ltp mailing list