Commit a7cbe963 authored by Emilia Kasper's avatar Emilia Kasper
Browse files

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: default avatarRich Salz <rsalz@openssl.org>
parent 8d95ca36
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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"