Skip to content

Commit 156fa58

Browse files
committed
[nrf noup] scripts: ci: check_compliance: Add other directories
Adds the applications and boot/zephyr directories to the Kconfig scan code so that the NCS applications folder is picked up and MCUboot zephyr folder is picked up Signed-off-by: Jamie McCrae <[email protected]>
1 parent e189481 commit 156fa58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/ci/check_compliance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,8 @@ def module_kconfigs(self, regex):
770770

771771
if Path(module_samples).is_dir() or Path(module_tests).is_dir():
772772
tmp_output = git("grep", "-I", "-h", "--perl-regexp", regex, "--",
773-
":samples", ":tests", cwd=module_path, ignore_non_zero=True)
773+
":samples", ":tests", ":applications", ":boot/zephyr",
774+
cwd=module_path, ignore_non_zero=True)
774775

775776
if len(tmp_output) > 0:
776777
kconfigs += tmp_output

0 commit comments

Comments
 (0)