Commit 72402f0c authored by DIAZ Jerome's avatar DIAZ Jerome Committed by GILLES Sebastien
Browse files

#1489 Changed the absolute path of the exclusion files to a relative one and...

#1489 Changed the absolute path of the exclusion files to a relative one and try the executable used for the test on its own before instrumenting it with valgrind.
parent 0a2d9a87
......@@ -6,7 +6,8 @@ valgrind:
- cd build_4_valgrind && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux.cmake --cmake_args="-G Ninja" --third_party_directory=/opt --mode="debug"
- ls ../Sources/Test/ThirdParty/PETSc/MatrixOperations
- ninja
- valgrind --error-exitcode=1 --log-file=memcheck_matrix_operations.txt --gen-suppressions=all --show-leak-kinds=all --show-reachable=yes --track-origins=yes --leak-check=full --suppressions=${HOME}/Codes/MoReFEM/CoreLibrary/ExternalTools/Valgrind/openmpi.suppr --suppressions=${HOME}/Codes/MoReFEM/CoreLibrary/ExternalTools/Valgrind/libgomp.suppr --suppressions=${HOME}/Codes/MoReFEM/CoreLibrary/ExternalTools/Valgrind/libc.suppr Sources/MoReFEMTestPetscMatrixOperations -i ../Sources/Test/ThirdParty/PETSc/MatrixOperations/demo.lua
- Sources/MoReFEMTestPetscMatrixOperations -i ../Sources/Test/ThirdParty/PETSc/MatrixOperations/demo.lua
- valgrind --error-exitcode=1 --log-file=memcheck_matrix_operations.txt --gen-suppressions=all --show-leak-kinds=all --show-reachable=yes --track-origins=yes --leak-check=full --suppressions=../ExternalTools/Valgrind/openmpi.suppr --suppressions=../ExternalTools/Valgrind/libgomp.suppr --suppressions=../ExternalTools/Valgrind/libc.suppr Sources/MoReFEMTestPetscMatrixOperations -i ../Sources/Test/ThirdParty/PETSc/MatrixOperations/demo.lua
dependencies: []
artifacts:
name: "artifact_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}_${OS}-valgrind"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment