Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
2528b837
Commit
2528b837
authored
Jul 26, 2019
by
Martin Heistermann
Browse files
cppcheck options, lower max warning limit
parent
d5c746c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
CI/ci-cppcheck.sh
View file @
2528b837
...
...
@@ -30,8 +30,8 @@ echo "Please Wait ..."
# for the public library interface)
cppcheck
\
--project
=
${
BUILDPATH
}
/compile_commands.json
\
--force
\
--enable
=
warning,performance,portability,information,missingInclude
\
--suppress
=
missingIncludeSystem
\
--inline-suppr
\
--quiet
\
2>&1 |
tee
cppcheck.log
...
...
@@ -44,7 +44,7 @@ echo "CPPCHECK Summary"
echo
"=============================================================================="
echo
-e
"
${
NC
}
"
if
[
$COUNT
-gt
5
]
;
then
if
[
$COUNT
-gt
3
]
;
then
echo
-e
${
WARNING
}
echo
"Total CPPCHECK error Count is
$COUNT
, which is too High! CPPCHECK Run failed"
;
echo
-e
"
${
NC
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment