Thread (11 messages) 11 messages, 4 authors, 2021-06-16

[LTP] [PATCH v2] syscalls/mallinfo2_01: Add a basic test for mallinfo2 when setting 2G size

From: Petr Vorel <pvorel@suse.cz>
Date: 2021-06-16 07:03:29

Hi Xu,
quoted hunk ↗ jump to hunk
+++ 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help