File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -720,13 +720,10 @@ jobs:
720
720
if [[ "${{ matrix.os }}" == macos-* ]]; then
721
721
echo "Skipping Valgrind checks on macOS"
722
722
else
723
- if [[ "${{ matrix.clang-runtime }}" == "17" ]]; then
724
- echo "Valgrind reports true for clang-runtime 17, due to memory leaks with LLVM"
725
- valgrind --show-error-list=yes --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true
726
- else
727
- echo "Running valgrind on passing tests"
728
- valgrind --show-error-list=yes --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v
729
- fi
723
+ echo "Running valgrind on passing tests"
724
+ CLANG_VERSION="${{ matrix.clang-runtime }}"
725
+ SUPPRESSION_FILE="../etc/clang${CLANG_VERSION}-valgrind.supp"
726
+ valgrind --show-error-list=yes --error-exitcode=1 --track-origins=yes --suppressions="${SUPPRESSION_FILE}" --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v
730
727
fi
731
728
export RETCODE=+$?
732
729
echo ::endgroup::
You can’t perform that action at this time.
0 commit comments