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

Petr Vorel
2021-08-30T18:13:06Z

> Hi!
> > $ 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.

> Well if you are hacking on a test that requires libnl and you want to
> run 'make check' before submission it has to be installed anyways. So
> this is not a big problem for the intended usage...
Sure, you're right.

Kind regards,
Petr