diff options
author | Thomas Haller <thaller@redhat.com> | 2020-12-22 23:36:49 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-12-23 10:48:27 +0100 |
commit | 826f2083192fce3d0d3d21317a8c9fc63b8c323e (patch) | |
tree | 28e4f61a5c877d244a8d6d4f63f0fa19f2a8ed7c /contrib | |
parent | 81e0837678156f1c578d1092e7b3d5e25c3c5cee (diff) | |
download | NetworkManager-826f2083192fce3d0d3d21317a8c9fc63b8c323e.tar.gz |
gitlab-ci: skip valgrind tests on Alpine Linux
We don't have debug symbols, so valgrind suppressions don't work.
Skip those checks.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/scripts/nm-ci-run.sh | 6 |
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..03eb955148 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 |