summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.travis-functions.sh6
-rw-r--r--tools/config-gen.d/devel.conf1
2 files changed, 5 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
diff --git a/tools/config-gen.d/devel.conf b/tools/config-gen.d/devel.conf
index 9298ccc99..905508a98 100644
--- a/tools/config-gen.d/devel.conf
+++ b/tools/config-gen.d/devel.conf
@@ -4,3 +4,4 @@ include:selinux.conf
--enable-gtk-doc
--with-utempter
+--enable-asan