diff options
author | Karel Zak | 2019-04-15 13:05:33 +0200 |
---|---|---|
committer | Karel Zak | 2019-04-15 13:05:33 +0200 |
commit | 7bd44e8adeb8fbfa525778d3636b81555a448ca5 (patch) | |
tree | 9a6cf5d3a2bda594d2a88f050c59ecb0790c9257 /.travis-functions.sh | |
parent | build-sys: add ASAN_LDFLAGS (diff) | |
download | kernel-qcow2-util-linux-7bd44e8adeb8fbfa525778d3636b81555a448ca5.tar.gz kernel-qcow2-util-linux-7bd44e8adeb8fbfa525778d3636b81555a448ca5.tar.xz kernel-qcow2-util-linux-7bd44e8adeb8fbfa525778d3636b81555a448ca5.zip |
build-sys: enable ASAN on travis-ci
Addresses: Addresses: https://github.com/systemd/systemd/pull/12252
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to '.travis-functions.sh')
-rwxr-xr-x | .travis-functions.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis-functions.sh b/.travis-functions.sh index 684c20588..a083c2bab 100755 --- a/.travis-functions.sh +++ b/.travis-functions.sh @@ -49,9 +49,10 @@ function make_checkusage function check_nonroot { - local opts="$MAKE_CHECK_OPTS --show-diff" + local opts="$MAKE_CHECK_OPTS --show-diff --memcheck-asan" xconfigure \ + --enable-asan \ --disable-use-tty-group \ --disable-makeinstall-chown \ --enable-all-programs \ @@ -68,9 +69,10 @@ function check_nonroot function check_root { - local opts="$MAKE_CHECK_OPTS --show-diff" + local opts="$MAKE_CHECK_OPTS --show-diff --memcheck-asan" xconfigure \ + --enable-asan \ --enable-all-programs \ || return $MAKE || return |