build-sys: enable ASAN on travis-ci

Addresses: Addresses: https://github.com/systemd/systemd/pull/12252
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2019-04-15 13:05:33 +02:00
parent ef61c093d3
commit 7bd44e8ade
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -4,3 +4,4 @@ include:selinux.conf
--enable-gtk-doc
--with-utempter
--enable-asan