File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -1086,7 +1086,9 @@ jobs:
10861086 python -m pip install numba
10871087 echo ::endgroup::
10881088 echo ::group::Run complete test suite
1089+ set -o pipefail
10891090 python -m pytest -sv | tee complete_testrun.log 2>&1
1091+ set +o pipefail
10901092 echo ::group::Crashing Test Logs
10911093 # See if we don't have a crash that went away
10921094 # Comment out all xfails but the ones that have a run=False condition.
@@ -1108,12 +1110,16 @@ jobs:
11081110 declare -i RETCODE=0
11091111
11101112 set -o pipefail
1111- if [[ "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]] && [[ "${{ matrix.os }}" != "macos-14" ]]; then
1112- echo "Valgrind reports true for clang-runtime 17 or 18, due to memory leaks with LLVM"
1113- valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true
1113+ if [[ "${{ matrix.os }}" == macos-* ]]; then
1114+ echo "Skipping Valgrind checks on OS X"
11141115 else
1115- echo "Running valgrind on passing tests"
1116- valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v
1116+ if [[ "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]]; then
1117+ echo "Valgrind reports true for clang-runtime 17 or 18, due to memory leaks with LLVM"
1118+ valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true
1119+ else
1120+ echo "Running valgrind on passing tests"
1121+ valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v
1122+ fi
11171123 fi
11181124 export RETCODE=+$?
11191125 echo ::endgroup::
You can’t perform that action at this time.
0 commit comments