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

Petr Vorel
2021-08-27T12:06:12Z

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