Skip to content

Commit

Permalink
gcc test
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanberger committed Apr 18, 2019
1 parent a9a9320 commit 62d0bb5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ matrix:
- uidgid="$(id -nu):$(id -ng)" &&
sudo chown -R ${uidgid} ./ &&
cpp-coveralls --gcov-options '\-lp' -e libtpms
- env: CFLAGS="-fsanitize=address -g -fno-omit-frame-pointer"
- env: CFLAGS="-fsanitize=address -g -fno-omit-frame-pointer -fno-sanitize-recover"
ASAN_OPTIONS="halt_on_error=true"
LIBS="-lasan"
PREFIX="/usr"
CONFIG="--with-openssl --prefix=${PREFIX} --without-seccomp"
Expand All @@ -94,6 +95,7 @@ matrix:
# Tspi_NV_WriteValue has an I/O error when using asan
- echo -e '#!/usr/bin/env bash\nexit 0' > tests/test_parameters
- env: CFLAGS="-fsanitize=undefined -g -fno-omit-frame-pointer -fno-sanitize-recover"
UBSAN_OPTIONS="halt_on_error=true"
LIBS="-lubsan"
PREFIX="/usr"
CONFIG="--with-openssl --prefix=${PREFIX}"
Expand Down

0 comments on commit 62d0bb5

Please sign in to comment.