[LTP] build: Fix library prerequisites in testcases.mk
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Wed Oct 21 15:40:50 CEST 2026
Hi Andrea,
On Wed, 21 Oct 2026, Andrea Cervesato wrote:
> build: Fix library prerequisites in testcases.mk
--- [PATCH 3/3] ---
> diff --git a/include/mk/generic_trunk_target.inc b/include/mk/generic_trunk_target.inc
> +$(addsuffix -all,$(SUBDIRS)): trunk-all | $(SUBDIRS) $(MAKE_DEPS)
Medium severity: make -C testcases/kernel/syscalls -j4 SUBDIRS=getuid
now exits 2 because the shared-library sub-make inherits SUBDIRS=getuid
and looks for libs/getuid/Makefile. The same command succeeds before this
patch; keep the test-directory selection out of shared-library sub-makes.
Verdict - Needs revision
---
Note:
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list