From 7869aacf61de8e323445de49a1abb4abfa546afa Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 28 Jan 2021 13:44:05 +0100 Subject: [PATCH] gitlab-ci: skip valgrind on Debian/sid with glib2.0 (2.66.4-2) See-also: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1902#note_1018573 --- contrib/scripts/nm-ci-run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/scripts/nm-ci-run.sh b/contrib/scripts/nm-ci-run.sh index 03eb955148..14f2989a7a 100755 --- a/contrib/scripts/nm-ci-run.sh +++ b/contrib/scripts/nm-ci-run.sh @@ -118,6 +118,10 @@ _with_valgrind() { if rpm -q glib2 | grep -q glib2-2.61.0-2.fc31 ; then WITH_VALGRIND=0 fi + elif grep -q '^PRETTY_NAME="Debian.*sid"$' /etc/os-release; then + if dpkg -s libglib2.0-bin | grep -q '^Version: 2.66.4-2$' ; then + WITH_VALGRIND=0 + fi fi if [ "$WITH_VALGRIND" == 0 ]; then echo "Don't use valgrind due to known issues in other packages."