Skip to content

Commit 4bc0c15

Browse files
author
Gonzalo Diaz
committed
[CONFIG] Better cppcheck parameters to return error exit on fail
1 parent de7d288 commit 4bc0c15

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,15 @@ lint/yaml:
6868
lint: lint/markdown lint/yaml test/styling test/static
6969

7070
test/static:
71-
cppcheck --enable=all \
72-
--inconclusive \
73-
--library=posix \
71+
cppcheck \
72+
--enable=all \
7473
--std=c++17 \
74+
--library=posix \
75+
--inconclusive \
76+
--inline-suppr \
77+
--error-exitcode=13 \
7578
--suppress=missingIncludeSystem \
79+
--showtime=summary \
7680
src/
7781

7882
test/styling:

0 commit comments

Comments
 (0)