Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PaMPA
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PaMPA
PaMPA
Commits
7fff6f00
Commit
7fff6f00
authored
Apr 25, 2018
by
PRUVOST Florent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cppcheck and fix report names
parent
c0bf67ee
Pipeline
#23388
canceled with stages
in 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ext/analysis.sh
ext/analysis.sh
+3
-3
No files found.
ext/analysis.sh
View file @
7fff6f00
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
export
CPPCHECK_INCLUDES
=
"-Ibuild/src/libpampa -Isrc/libpampa -Isrc/pampa-remesh -Isrc/samples/C/include -Isrc/remeshers/gmsh -Isrc/remeshers/tetgen -Isrc/remeshers/common -Isrc/remeshers/mmg3d/libpampa-mmg3d4 -Isrc/remeshers/mmg3d/libpampa-mmg3d"
export
CPPCHECK_INCLUDES
=
"-Ibuild/src/libpampa -Isrc/libpampa -Isrc/pampa-remesh -Isrc/samples/C/include -Isrc/remeshers/gmsh -Isrc/remeshers/tetgen -Isrc/remeshers/common -Isrc/remeshers/mmg3d/libpampa-mmg3d4 -Isrc/remeshers/mmg3d/libpampa-mmg3d"
export
SOURCES_TO_ANALYZE
=
"src"
export
SOURCES_TO_ANALYZE
=
"src"
cppcheck
-v
-f
--max-configs
=
1
--language
=
c
--platform
=
unix64
--enable
=
all
--xml
--xml-version
=
2
--suppress
=
missingIncludeSystem
${
CPPCHECK_INCLUDES
}
${
SOURCES_TO_ANALYZE
}
2>
scotch
-cppcheck.xml
cppcheck
-v
-f
--max-configs
=
1
--language
=
c
--platform
=
unix64
--enable
=
all
--xml
--xml-version
=
2
--suppress
=
missingIncludeSystem
${
CPPCHECK_INCLUDES
}
${
SOURCES_TO_ANALYZE
}
2>
pampa
-cppcheck.xml
rats
-w
3
--xml
${
SOURCES_TO_ANALYZE
}
>
scotch
-rats.xml
rats
-w
3
--xml
${
SOURCES_TO_ANALYZE
}
>
pampa
-rats.xml
cat
>
sonar-project.properties
<<
EOF
cat
>
sonar-project.properties
<<
EOF
sonar.host.url=https://sonarqube.bordeaux.inria.fr/sonarqube
sonar.host.url=https://sonarqube.bordeaux.inria.fr/sonarqube
...
@@ -27,7 +27,7 @@ sonar.c.compiler.parser=GCC
...
@@ -27,7 +27,7 @@ sonar.c.compiler.parser=GCC
sonar.c.compiler.regex=^(.*):(
\\\d
+):
\\\d
+: warning: (.*)
\\\[
(.*)
\\\]
$
sonar.c.compiler.regex=^(.*):(
\\\d
+):
\\\d
+: warning: (.*)
\\\[
(.*)
\\\]
$
sonar.c.compiler.reportPath=pampa-build.log
sonar.c.compiler.reportPath=pampa-build.log
sonar.c.coverage.reportPath=pampa-coverage.xml
sonar.c.coverage.reportPath=pampa-coverage.xml
#
sonar.c.cppcheck.reportPath=pampa-cppcheck.xml
sonar.c.cppcheck.reportPath=pampa-cppcheck.xml
sonar.c.rats.reportPath=pampa-rats.xml
sonar.c.rats.reportPath=pampa-rats.xml
sonar.c.clangsa.reportPath=analyzer_reports/*/*.plist
sonar.c.clangsa.reportPath=analyzer_reports/*/*.plist
EOF
EOF
Write
Preview
Markdown
is supported
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