[LTP] [PATCH v2] syscalls/mallinfo2_01: Add a basic test for mallinfo2 when setting 2G size
Petr Vorel
pvorel@suse.cz
Wed Jun 16 09:03:29 CEST 2021
Hi Xu,
> +++ b/testcases/kernel/syscalls/mallinfo2/Makefile
...
> +
> +top_srcdir ?= ../../../..
> +
> +include $(top_srcdir)/include/mk/testcases.mk
> +
> +CFLAGS += -I../mallinfo
Also this needs to be
CFLAGS += -I$(abs_srcdir)/../mallinfo
otherwise out of tree builds fail:
https://github.com/pevik/ltp/actions/runs/941820122
BTW Cyril also suggested recently to drop out of tree support, because build
system dependencies are broken and fixing it would be much easier when
supporting only in tree build.
Kind regards,
Petr
More information about the ltp
mailing list