From a7cbe963c3c486e336babf224f68f294c55489cf Mon Sep 17 00:00:00 2001 From: Emilia Kasper Date: Thu, 12 May 2016 20:00:14 +0200 Subject: [PATCH] Travis: update sanitizer configs - Use the new enable-ubsan and enable-asan configuration options. - Separate ubsan and asan runs. - In addition, run shared ubsan tests to get more coverage. (Shared asan tests need a bit more thought to get them working.) Reviewed-by: Rich Salz --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 78cee30374..d3f67f9b4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,16 +33,16 @@ matrix: include: - os: linux compiler: clang-3.6 - env: CONFIG_OPTS="-fsanitize=address no-shared" + env: CONFIG_OPTS="no-shared enable-asan" - os: linux compiler: clang-3.6 - env: CONFIG_OPTS="no-shared no-asm -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2 -fno-sanitize=alignment" + env: CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 -fno-sanitize=alignment" - os: linux compiler: gcc-5 - env: CONFIG_OPTS="no-shared -fsanitize=address" + env: CONFIG_OPTS="no-shared no-asm enable-asan enable-rc5 enable-md2" - os: linux compiler: gcc-5 - env: CONFIG_OPTS="no-shared no-asm -fno-sanitize-recover -DPEDANTIC -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2" + env: CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 -DPEDANTIC" - os: linux compiler: i686-w64-mingw32-gcc env: CONFIG_OPTS="no-pic" -- 2.25.1