File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -560,7 +560,14 @@ jobs:
560560
561561 echo "Running valgrind on passing tests"
562562 CLANG_VERSION="${{ matrix.clang-runtime }}"
563- SUPPRESSION_FILE="../etc/clang${CLANG_VERSION}-valgrind_arm.supp"
563+
564+ if [[ "${{ matrix.cling }}" == "On" ]]; then
565+ CLANG_INTERPRETER="cling"
566+ else
567+ CLANG_INTERPRETER="clang"
568+ fi
569+
570+ SUPPRESSION_FILE="../etc/${CLANG_INTERPRETER}${CLANG_VERSION}-valgrind_arm.supp"
564571 valgrind --show-error-list=yes --error-exitcode=1 --track-origins=yes --gen-suppressions=all --suppressions="${SUPPRESSION_FILE}" --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -sv -ra
565572 export RETCODE=+$?
566573 echo ::endgroup::
Original file line number Diff line number Diff line change @@ -546,7 +546,14 @@ jobs:
546546
547547 echo "Running valgrind on passing tests"
548548 CLANG_VERSION="${{ matrix.clang-runtime }}"
549- SUPPRESSION_FILE="../etc/clang${CLANG_VERSION}-valgrind.supp"
549+
550+ if [[ "${{ matrix.cling }}" == "On" ]]; then
551+ CLANG_INTERPRETER="cling"
552+ else
553+ CLANG_INTERPRETER="clang"
554+ fi
555+
556+ SUPPRESSION_FILE="../etc/${CLANG_INTERPRETER}${CLANG_VERSION}-valgrind.supp"
550557 valgrind --show-error-list=yes --error-exitcode=1 --track-origins=yes --gen-suppressions=all --suppressions="${SUPPRESSION_FILE}" --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -sv -ra
551558 export RETCODE=+$?
552559 echo ::endgroup::
You can’t perform that action at this time.
0 commit comments