From: Nick Terrell Date: Fri, 7 Oct 2016 04:32:06 +0000 (-0700) Subject: [pzstd] Add asan and tsan tests to travis X-Git-Tag: v1.1.1~5^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cb5e90a5c7ce0162c2b8dbf2e055e3951fd75fb;p=thirdparty%2Fzstd.git [pzstd] Add asan and tsan tests to travis gcc-6 tsan is buggy. It fails to use the correct linker. It is also broken with `-pie` with linux kernels newer than 4.1, but previous versions require `-pie`... --- diff --git a/.travis.yml b/.travis.yml index f328f480d..0c8960725 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,6 +55,20 @@ matrix: packages: - libc6-dev-i386 - gcc-multilib + - os: linux + sudo: required + install: + - export CXX="g++-6" CC="gcc-6" + - export LDFLAGS="-fuse-ld=gold" + - export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*' + env: PLATFORM="Ubuntu 12.04" CMD='cd contrib/pzstd && make googletest && make tsan && make check && make clean && make asan && make check && make clean && cd ../..' + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-6 + - g++-6 # Ubuntu 14.04 LTS Server Edition 64 bit - os: linux dist: trusty