From abced782d1967bc5f96715ead58223723c66707d Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 17 Mar 2016 09:59:38 +0100 Subject: [PATCH] travis: enable address sanitizer --- NEWS | 2 ++ tests/ci/run.sh | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index ff85c936..22f3b6ed 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,8 @@ lldpd (0.9.2) + Limit the maximum depth (5) when trying to apply a VLAN. + Change JSON output format when using json-c to match Jansson output. + + Integration tests for the major parts of lldpd, including use of + address and leak sanitizer. * Fix: + LLDP-MED POE TLV are now displayed in lldpcli. + Ignore lower link when it is in another namespace. diff --git a/tests/ci/run.sh b/tests/ci/run.sh index 1e11f4f5..82473b64 100755 --- a/tests/ci/run.sh +++ b/tests/ci/run.sh @@ -21,7 +21,11 @@ case "${RUN_COVERITY}","${TRAVIS_BRANCH}" in esac ./autogen.sh -./configure $LLDPD_CONFIG_ARGS --enable-pie --localstatedir=/var --sysconfdir=/etc --prefix=/usr CFLAGS="-O0 -g" +./configure $LLDPD_CONFIG_ARGS \ + --enable-pie \ + --enable-sanitizers \ + --localstatedir=/var --sysconfdir=/etc --prefix=/usr \ + CFLAGS="-O1 -g" make all check CFLAGS=-Werror make distcheck -- 2.39.5