[lxc-devel] [lxc/master] travis: enable -fsanitize=undefined

brauner on Github lxc-bot at linuxcontainers.org
Mon Dec 23 19:13:28 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20191223/98b33c16/attachment.bin>
-------------- next part --------------
From 3bda9a3020b4ef558b3d3681a6a893713834616c Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Mon, 23 Dec 2019 20:12:57 +0100
Subject: [PATCH] travis: enable -fsanitize=undefined

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index b8c695ffee..dcb5fd7d7a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,7 +9,7 @@ before_install:
 script:
  - ./coccinelle/run-coccinelle.sh -i
  - git diff --exit-code
- - export CFLAGS="-Wall -Werror"
+ - export CFLAGS="-Wall -Werror -fsanitize=undefined"
  - export LDFLAGS="-pthread -lpthread"
  - ./autogen.sh
  - rm -Rf build


More information about the lxc-devel mailing list