Skip to content

Commit 244d1ab

Browse files
authored
[ci] Show error on valgrind (#252)
1 parent 2770618 commit 244d1ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1128,10 +1128,10 @@ jobs:
11281128
else
11291129
if [[ "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]]; then
11301130
echo "Valgrind reports true for clang-runtime 17 or 18, due to memory leaks with LLVM"
1131-
valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true
1131+
valgrind --show-error-list=yes --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true
11321132
else
11331133
echo "Running valgrind on passing tests"
1134-
valgrind --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v
1134+
valgrind --show-error-list=yes --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v
11351135
fi
11361136
fi
11371137
export RETCODE=+$?

0 commit comments

Comments
 (0)