From a15dc7f1913e0aaceebbba329db13faf836f3745 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 27 Oct 2016 13:51:55 -0400 Subject: [PATCH] ci: Use -fsanitize=undefined by default It's fast enough to use for CI testing by default, and it can catch a lot of bad things. Closes: #552 Approved by: jlebon --- .redhat-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.redhat-ci.yml b/.redhat-ci.yml index da69f97a..f2a0cfe9 100644 --- a/.redhat-ci.yml +++ b/.redhat-ci.yml @@ -6,12 +6,16 @@ branches: container: image: projectatomic/ostree-tester +packages: + - libubsan + tests: - sh autogen.sh --prefix=/usr --libdir=/usr/lib64 --enable-installed-tests --enable-gtk-doc + CFLAGS='-fsanitize=undefined' - make -j2 - make syntax-check - make check