summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-12-22 23:36:49 +0100
committerThomas Haller <thaller@redhat.com>2020-12-22 23:36:49 +0100
commit681cb784809d1a812b0c1d1840965d917de2afa3 (patch)
treebd3bc79833a3e0fcebfaa53ca80b201761cc1308
parentd63a8ba731afb3270a93732f8971d644e6891698 (diff)
downloadNetworkManager-th/gitlab-ci-alpine.tar.gz
gitlab-ci: skip valgrind tests on Alpine Linuxth/gitlab-ci-alpine
We don't have debug symbols, so valgrind suppressions don't work. Skip those checks.
-rwxr-xr-xcontrib/scripts/nm-ci-run.sh6
1 files changed, 6 insertions, 0 deletions
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