From c297ed7533d933a9027d45442fd74ab94a51dc9c Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Mon, 29 Jun 2020 12:36:48 +0000 Subject: [PATCH] travis: ignore memory leaks in checkusage Closes https://github.com/karelzak/util-linux/issues/1077 --- .travis-functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis-functions.sh b/.travis-functions.sh index cabc3cc50c..53066525ad 100755 --- a/.travis-functions.sh +++ b/.travis-functions.sh @@ -53,7 +53,8 @@ function xconfigure function make_checkusage { local tmp - if ! tmp=$($MAKE checkusage 2>&1) || test -n "$tmp"; then + # memory leaks are ignored here. See https://github.com/karelzak/util-linux/issues/1077 + if ! tmp=$(ASAN_OPTIONS="$ASAN_OPTIONS:detect_leaks=0" $MAKE checkusage 2>&1) || test -n "$tmp"; then echo "$tmp" echo "make checkusage failed" >&2 return 1 -- 2.47.2