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
109e4ae9
Commit
109e4ae9
authored
May 24, 2019
by
Martin Heistermann
Browse files
CI-cppcheck: display version, use `tee` to get output while cppcheck is running
parent
f1b89140
Pipeline
#10518
passed with stage
in 4 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CI/ci-cppcheck.sh
View file @
109e4ae9
...
...
@@ -13,12 +13,14 @@ WARNING='\033[0;93m'
echo
-e
"
${
OUTPUT
}
"
echo
"=============================================================================="
echo
"Running cppcheck"
echo
-n
"Version: "
cppcheck
--version
echo
"=============================================================================="
echo
-e
"
${
NC
}
"
echo
"Please Wait ..."
# Run cppcheck and output into file
cppcheck
--enable
=
all
.
-I
src
-i
Doc/
--force
--suppress
=
missingIncludeSystem
--quiet
-Umin
-Umax
-UBMPOSTFIX
-DOPENVOLUMEMESHDLLEXPORT
=
""
&>
cppcheck.log
cppcheck
--enable
=
all
.
-I
src
-i
Doc/
--force
--suppress
=
missingIncludeSystem
--quiet
-Umin
-Umax
-UBMPOSTFIX
-DOPENVOLUMEMESHDLLEXPORT
=
""
2>&1 |
tee
cppcheck.log
echo
-e
"
${
OUTPUT
}
"
echo
"=============================================================================="
...
...
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