Skip to content

Commit c78a0e2

Browse files
cfriedtMaureenHelm
authored andcommitted
scripts: ci: guideline_check: ignore tests/posix/ in coccinelle
Exclulde `tests/posix/` when running coccinelle checks for reserved names since POSIX implements much of the reserved names. This avoids the following failure in CI ```shell Error: tests/posix/xsi_single_process/src/putenv.c:12: WARNING: \ Violation to rule 21.2 (Should not used a reserved identifier) - putenv ``` Signed-off-by: Chris Friedt <chris@fr4.co>
1 parent 8acd197 commit c78a0e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎scripts/ci/guideline_check.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
r"lib/libc/.*",
2525
r"lib/posix/.*",
2626
r"include/zephyr/posix/.*",
27+
r"tests/posix/.*",
2728
]
2829

2930

0 commit comments

Comments
 (0)