[LTP] [PATCH] Ignore files paths change during make check
Andrea Cervesato
andrea.cervesato@suse.de
Wed Jan 15 12:16:11 CET 2025
From: Andrea Cervesato <andrea.cervesato@suse.com>
checkpatch.pl script doesn't need to be run with FILE_PATH_CHANGES,
since it's used to sync with MAINTAINERS file, not provided by LTP.
Its usage may lead to a false positive during `make check` command.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
include/mk/env_post.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/mk/env_post.mk b/include/mk/env_post.mk
index 0bbbc37052fbb2fc221626889b75783bc89b4c42..4dd3f1e2d7cb8aef68b42631ee2d3855ef865bb7 100644
--- a/include/mk/env_post.mk
+++ b/include/mk/env_post.mk
@@ -90,7 +90,7 @@ CHECK_TARGETS ?= $(addprefix check-,$(notdir $(patsubst %.c,%,$(sort $(wildcar
CHECK_TARGETS := $(filter-out $(addprefix check-, $(FILTER_OUT_MAKE_TARGETS)), $(CHECK_TARGETS))
CHECK_HEADER_TARGETS ?= $(addprefix check-,$(notdir $(sort $(wildcard $(abs_srcdir)/*.h))))
CHECK ?= $(abs_top_srcdir)/tools/sparse/sparse-ltp
-CHECK_NOFLAGS ?= $(abs_top_srcdir)/scripts/checkpatch.pl -f --no-tree --terse --no-summary --ignore CONST_STRUCT,VOLATILE,SPLIT_STRING
+CHECK_NOFLAGS ?= $(abs_top_srcdir)/scripts/checkpatch.pl -f --no-tree --terse --no-summary --ignore CONST_STRUCT,VOLATILE,SPLIT_STRING,FILE_PATH_CHANGES
SHELL_CHECK ?= $(abs_top_srcdir)/scripts/checkbashisms.pl --force --extra
SHELL_CHECK_TARGETS ?= $(addprefix check-,$(notdir $(sort $(wildcard $(abs_srcdir)/*.sh))))
---
base-commit: 0e5727a412c2447b5dc1c45479b75e0f014d6f3d
change-id: 20250115-maintainers_check-98bce648ed71
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list