gitlab-ci: skip valgrind tests on Alpine Linux

We don't have debug symbols, so valgrind suppressions don't work.
Skip those checks.
This commit is contained in:
Thomas Haller 2020-12-22 23:36:49 +01:00
parent 81e0837678
commit 826f208319
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -101,6 +101,12 @@ _with_valgrind() {
test "$_WITH_VALGRIND_CHECKED" == "1" && return 0
_WITH_VALGRIND_CHECKED=1
if [ "$IS_ALPINE" = 1 ]; then
# on Alpine we have no debug symbols and the suppressions
# don't work. Skip valgrind tests.
WITH_VALGRIND=0
fi
# Certain glib2 versions are known to report *lots* of leaks. Disable
# valgrind tests in this case.
# https://bugzilla.redhat.com/show_bug.cgi?id=1710417