]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
travis: enable address sanitizer
authorVincent Bernat <vincent@bernat.im>
Thu, 17 Mar 2016 08:59:38 +0000 (09:59 +0100)
committerVincent Bernat <vincent@bernat.im>
Fri, 18 Mar 2016 18:34:54 +0000 (19:34 +0100)
NEWS
tests/ci/run.sh

diff --git a/NEWS b/NEWS
index ff85c936229e5bfd103eb4ec9680810ab1694f2b..22f3b6ed2e7453b0601d60d778f3bd0fda2efbf3 100644 (file)
--- 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.
index 1e11f4f52d2b6bc03e3333e21103b4fec81e1a26..82473b64b663aaf5144f038b5c464f92b92777b0 100755 (executable)
@@ -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