From 6373216301885204dabcb2ab8b13c7ce929c2299 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 19 Oct 2021 12:13:06 -0400 Subject: tests: Set abort_on_error=1 for the sanitizers This makes it easier to distinguish crashes from expected failures --- tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests.sh b/tests.sh index 7bcda74..7c96f29 100755 --- a/tests.sh +++ b/tests.sh @@ -23,6 +23,12 @@ umask 022 export LC_ALL=C export TZ=UTC +export ASAN_OPTIONS="abort_on_error=1" +export LSAN_OPTIONS="abort_on_error=1" +export MSAN_OPTIONS="abort_on_error=1" +export TSAN_OPTIONS="abort_on_error=1" +export UBSAN_OPTIONS="abort_on_error=1" + if [ -t 1 ]; then BLD="$(printf '\033[01m')" RED="$(printf '\033[01;31m')" -- cgit v1.2.3