ci: modify amd64/gcc/valgrind script
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
light7734 2025-09-10 15:18:26 +03:30
parent ad5d961d33
commit 9b0acc1cc3
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -14,4 +14,15 @@ conan build . \
-o use_mold=True \
--build=missing
find ./build -type f -name "*_tests" -executable | xargs -I {} bash -c 'valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode=255 {}' || exit 1
for test in $(find ./build -type f -name '*_tests' -executable); do
echo "Running $test"
valgrind \
--leak-check=full \
--show-leak-kinds=all \
--track-origins=yes \
--verbose \
--error-exitcode=255 \
${test} || exit 1
done