From 681cb784809d1a812b0c1d1840965d917de2afa3 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 22 Dec 2020 23:36:49 +0100 Subject: gitlab-ci: skip valgrind tests on Alpine Linux We don't have debug symbols, so valgrind suppressions don't work. Skip those checks. --- contrib/scripts/nm-ci-run.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/scripts/nm-ci-run.sh b/contrib/scripts/nm-ci-run.sh index 0a87beaa5f..6b0d48a9ec 100755 --- a/contrib/scripts/nm-ci-run.sh +++ b/contrib/scripts/nm-ci-run.sh @@ -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 -- cgit v1.2.1