From bb8c0e53947abd4aad890e23e5817d4c70398d8f Mon Sep 17 00:00:00 2001 From: Paul Grandperrin Date: Thu, 6 Sep 2018 11:54:40 +0200 Subject: [PATCH] test.sh: temporarily stop testing leak sanitizer on Linux It's broken since the upgrade to LLVM 8, see: https://github.com/rust-lang/rust/issues/53945 --- test.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index 0165fc9..6212f80 100755 --- a/test.sh +++ b/test.sh @@ -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