]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
travis: ignore memory leaks in checkusage
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 29 Jun 2020 12:36:48 +0000 (12:36 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 29 Jun 2020 12:36:48 +0000 (12:36 +0000)
Closes https://github.com/karelzak/util-linux/issues/1077

.travis-functions.sh

index cabc3cc50cc98324cc04110e6f351db3f37d1d87..53066525ad8112fb6e220b2c845ca237cc4e0f86 100755 (executable)
@@ -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