From: Evgeny Vereshchagin Date: Mon, 29 Jun 2020 12:36:48 +0000 (+0000) Subject: travis: ignore memory leaks in checkusage X-Git-Tag: v2.36-rc2~30^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c297ed7533d933a9027d45442fd74ab94a51dc9c;p=thirdparty%2Futil-linux.git travis: ignore memory leaks in checkusage Closes https://github.com/karelzak/util-linux/issues/1077 --- 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