diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-10-19 12:13:06 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-10-19 12:28:17 -0400 |
commit | 6373216301885204dabcb2ab8b13c7ce929c2299 (patch) | |
tree | a8efab2644bd433cdded74da55915d9614b85055 | |
parent | be3c3ed7dfd0182ea11468c8d4dffa465ce7a44f (diff) | |
download | bfs-6373216301885204dabcb2ab8b13c7ce929c2299.tar.xz |
tests: Set abort_on_error=1 for the sanitizers
This makes it easier to distinguish crashes from expected failures
-rwxr-xr-x | tests.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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')" |