Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
OpenMesh
Commits
4e9e5b26
Commit
4e9e5b26
authored
May 10, 2016
by
Jan Möbius
Browse files
Suppress missing system headers and reduce allowed errors to zero
parent
904675aa
Pipeline
#1671
passed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
CI/ci-cppcheck.sh
View file @
4e9e5b26
...
...
@@ -18,7 +18,7 @@ echo -e "${NC}"
echo
"Please Wait ..."
# Run cppcheck and output into file
cppcheck
--enable
=
all
.
-I
src
-i
Doc/
--force
--suppress
=
unusedFunction
--quiet
vi src/OpenMesh/Tools/Utils/Timer.hh
-Umin
-Umax
-UBMPOSTFIX
-DOPENMESHDLLEXPORT
=
""
&> cppcheck.log
cppcheck
--enable
=
all
.
-I
src
-i
Doc/
--force
--suppress
=
unusedFunction
--suppress
=
missingIncludeSystem
--quiet
vi src/OpenMesh/Tools/Utils/Timer.hh
-Umin
-Umax
-UBMPOSTFIX
-DOPENMESHDLLEXPORT
=
""
&> cppcheck.log
echo
-e
"
${
OUTPUT
}
"
echo
"=============================================================================="
...
...
@@ -38,7 +38,7 @@ echo "CPPCHECK Summary"
echo
"=============================================================================="
echo
-e
"
${
NC
}
"
if
[
$COUNT
-gt
1
]
;
then
if
[
$COUNT
-gt
0
]
;
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
.
Attach a 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