Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
038be345
Commit
038be345
authored
7 years ago
by
PRUVOST Florent
Browse files
Options
Downloads
Patches
Plain Diff
use absolute path to files for lcov add tracefile option
parent
63d12f16
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+11
-11
11 additions, 11 deletions
.gitlab-ci.yml
tools/analysis.sh
+2
-3
2 additions, 3 deletions
tools/analysis.sh
with
13 additions
and
14 deletions
.gitlab-ci.yml
+
11
−
11
View file @
038be345
...
@@ -82,13 +82,13 @@ test_starpu_mpi:
...
@@ -82,13 +82,13 @@ test_starpu_mpi:
name
:
starpu_mpi_test
name
:
starpu_mpi_test
expire_in
:
48 hours
expire_in
:
48 hours
paths
:
paths
:
-
coverage_starpu_mpi.tar.bz2
#
- coverage_starpu_mpi.tar.bz2
-
chameleon_starpu_mpi.lcov
-
chameleon_starpu_mpi.lcov
script
:
script
:
-
source .gitlab-ci-env.sh
-
source .gitlab-ci-env.sh
-
git submodule update --init --recursive
-
git submodule update --init --recursive
-
(cd build && STARPU_SILENT=1 ctest --no-compress-output -R test_shm_s || /usr/bin/true && ctest --no-compress-output -R mpi_s || /usr/bin/true)
-
(cd build && STARPU_SILENT=1 ctest --no-compress-output -R test_shm_s || /usr/bin/true && ctest --no-compress-output -R mpi_s || /usr/bin/true)
-
find -name "*.gcda" | xargs tar cvjf coverage_starpu_mpi.tar.bz2
#
- find -name "*.gcda" | xargs tar cvjf coverage_starpu_mpi.tar.bz2
-
lcov --directory build --capture --output-file chameleon_starpu_mpi.lcov
-
lcov --directory build --capture --output-file chameleon_starpu_mpi.lcov
test_starpu_simgrid
:
test_starpu_simgrid
:
...
@@ -99,13 +99,13 @@ test_starpu_simgrid:
...
@@ -99,13 +99,13 @@ test_starpu_simgrid:
name
:
starpu_simgrid_test
name
:
starpu_simgrid_test
expire_in
:
48 hours
expire_in
:
48 hours
paths
:
paths
:
-
coverage_starpu_simgrid.tar.bz2
#
- coverage_starpu_simgrid.tar.bz2
-
chameleon_starpu_simgrid.lcov
-
chameleon_starpu_simgrid.lcov
script
:
script
:
-
source .gitlab-ci-env.sh simu
-
source .gitlab-ci-env.sh simu
-
git submodule update --init --recursive
-
git submodule update --init --recursive
-
(cd build && STARPU_SILENT=1 ctest --no-compress-output -V || /usr/bin/true)
-
(cd build && STARPU_SILENT=1 ctest --no-compress-output -V || /usr/bin/true)
-
find -name "*.gcda" | xargs tar cvjf coverage_starpu_simgrid.tar.bz2
#
- find -name "*.gcda" | xargs tar cvjf coverage_starpu_simgrid.tar.bz2
-
lcov --directory build --capture --output-file chameleon_starpu_simgrid.lcov
-
lcov --directory build --capture --output-file chameleon_starpu_simgrid.lcov
test_quark
:
test_quark
:
...
@@ -116,13 +116,13 @@ test_quark:
...
@@ -116,13 +116,13 @@ test_quark:
name
:
quark_test
name
:
quark_test
expire_in
:
48 hours
expire_in
:
48 hours
paths
:
paths
:
-
coverage_quark.tar.bz2
#
- coverage_quark.tar.bz2
-
chameleon_quark.lcov
-
chameleon_quark.lcov
script
:
script
:
-
source .gitlab-ci-env.sh
-
source .gitlab-ci-env.sh
-
git submodule update --init --recursive
-
git submodule update --init --recursive
-
(cd build && ctest --no-compress-output -R test_shm_s)
-
(cd build && ctest --no-compress-output -R test_shm_s)
-
find -name "*.gcda" | xargs tar cvjf coverage_quark.tar.bz2
#
- find -name "*.gcda" | xargs tar cvjf coverage_quark.tar.bz2
-
lcov --directory build --capture --output-file chameleon_quark.lcov
-
lcov --directory build --capture --output-file chameleon_quark.lcov
sonar
:
sonar
:
...
@@ -145,11 +145,11 @@ sonar:
...
@@ -145,11 +145,11 @@ sonar:
-
sonar.log
-
sonar.log
script
:
script
:
-
source .gitlab-ci-env.sh
-
source .gitlab-ci-env.sh
-
tar xvjf coverage_starpu_simgrid.tar.bz2
#
- tar xvjf coverage_starpu_simgrid.tar.bz2
-
tar xvjf coverage_starpu_mpi.tar.bz2
#
- tar xvjf coverage_starpu_mpi.tar.bz2
-
tar xvjf coverage_quark.tar.bz2
#
- tar xvjf coverage_quark.tar.bz2
-
lcov -a chameleon_starpu_mpi.lcov -a chameleon_starpu_simgrid.lcov -a chameleon_quark.lcov -o chameleon.lcov
-
lcov -a
$PWD/
chameleon_starpu_mpi.lcov -a
$PWD/
chameleon_starpu_simgrid.lcov -a
$PWD/
chameleon_quark.lcov -o
$PWD/
chameleon.lcov
-
genhtml -o coverage chameleon.lcov
#
- genhtml -o coverage chameleon.lcov
-
lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml
-
lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml
-
./tools/analysis.sh
-
./tools/analysis.sh
only
:
only
:
...
...
This diff is collapsed.
Click to expand it.
tools/analysis.sh
+
2
−
3
View file @
038be345
...
@@ -15,10 +15,10 @@
...
@@ -15,10 +15,10 @@
# capture coverage
# capture coverage
#lcov --directory . --capture --output-file ../chameleon.lcov
#lcov --directory . --capture --output-file ../chameleon.lcov
lcov
--directory
build
--capture
--output-file
chameleon.lcov
#
lcov --directory build --capture --output-file chameleon.lcov
#cd ..
#cd ..
#genhtml -o coverage chameleon.lcov
#genhtml -o coverage chameleon.lcov
lcov_cobertura.py chameleon.lcov
--output
chameleon-coverage.xml
#
lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml
# filter sources:
# filter sources:
# - consider generated files in build
# - consider generated files in build
...
@@ -30,7 +30,6 @@ lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml
...
@@ -30,7 +30,6 @@ lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml
export
UNDEFINITIONS
=
"-UCHAMELEON_USE_OPENCL -UWIN32 -UWIN64 -U_MSC_EXTENSIONS -U_MSC_VER -U__SUNPRO_C -U__SUNPRO_CC -U__sun -Usun -U__cplusplus"
export
UNDEFINITIONS
=
"-UCHAMELEON_USE_OPENCL -UWIN32 -UWIN64 -U_MSC_EXTENSIONS -U_MSC_VER -U__SUNPRO_C -U__SUNPRO_CC -U__sun -Usun -U__cplusplus"
# run cppcheck analysis
# run cppcheck analysis
cppcheck
-v
-f
--language
=
c
--platform
=
unix64
--enable
=
all
--xml
--xml-version
=
2
--suppress
=
missingIncludeSystem
${
UNDEFINITIONS
}
--file-list
=
./filelist.txt 2> chameleon-cppcheck.xml
cppcheck
-v
-f
--language
=
c
--platform
=
unix64
--enable
=
all
--xml
--xml-version
=
2
--suppress
=
missingIncludeSystem
${
UNDEFINITIONS
}
--file-list
=
./filelist.txt 2> chameleon-cppcheck.xml
#cppcheck -v -f --language=c --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingIncludeSystem ${UNDEFINITIONS} `cat filelist.txt` 2> chameleon-cppcheck.xml
# run rats analysis
# run rats analysis
rats
-w
3
--xml
`
cat
filelist.txt
`
>
chameleon-rats.xml
rats
-w
3
--xml
`
cat
filelist.txt
`
>
chameleon-rats.xml
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment