Skip to content

Commit

Permalink
test.sh: temporarily stop testing leak sanitizer on Linux
Browse files Browse the repository at this point in the history
It's broken since the upgrade to LLVM 8, see: rust-lang/rust#53945
  • Loading branch information
PaulGrandperrin committed Sep 6, 2018
1 parent 859bf4e commit bb8c0e5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ RUSTFLAGS="" ./test.sh
version=`rustc --version`
if [ -z "${version##*nightly*}" ] ;then
RUSTFLAGS="-Z sanitizer=address" ./test.sh
RUSTFLAGS="-Z sanitizer=thread" ./test.sh
if [ "`uname`" = "Linux" ] ;then # the leak sanitizer is only available on Linux
if [ "`uname`" = "Linux" ] ;then
# the leak sanitizer is only available on Linux
RUSTFLAGS="-Z sanitizer=leak" ./test.sh
else
# the thread sanitizer doesn't work anymore on Linux since the upgrade to LLVM 8, see: https://github.com/rust-lang/rust/issues/53945
RUSTFLAGS="-Z sanitizer=thread" ./test.sh
fi
# RUSTFLAGS="-Z sanitizer=memory" ./test.sh # not working, see: https://github.com/rust-lang/rust/issues/39610
fi
Expand Down

0 comments on commit bb8c0e5

Please sign in to comment.