Mercurial > vim
changeset 20132:cb0990a07084 v8.2.0621
patch 8.2.0621: after running tests asan files may remain
Commit: https://github.com/vim/vim/commit/95a467e7eeab664a71446e320d328d1d7c52a35a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 23 14:41:46 2020 +0200
patch 8.2.0621: after running tests asan files may remain
Problem: After running tests asan files may remain.
Solution: Clean up asan files with "make testclean".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 23 Apr 2020 14:45:03 +0200 |
parents | c767f371c6fb |
children | fa4ed8427c0c |
files | src/Makefile src/testdir/Makefile src/version.c |
diffstat | 3 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -696,7 +696,8 @@ LINT_OPTIONS = -beprxzF # More at: https://code.google.com/p/address-sanitizer/ # Useful environment variables: # $ export ASAN_OPTIONS="print_stacktrace=1 log_path=asan" -# $ export LSAN_OPTIONS="suppressions=$cwd/testdir/lsan-suppress.txt" +# $ export LSAN_OPTIONS="suppressions=`pwd`/testdir/lsan-suppress.txt" +# When running tests output can be found in testdir/asan.* #SANITIZER_CFLAGS = -g -O0 -fsanitize=address -fno-omit-frame-pointer #SANITIZER_CFLAGS = -g -O0 -fsanitize=undefined -fno-omit-frame-pointer SANITIZER_LIBS = $(SANITIZER_CFLAGS)