# HG changeset patch # User Bram Moolenaar # Date 1587645903 -7200 # Node ID cb0990a07084a09ce9396f239a72cb1c0284f034 # Parent c767f371c6fb87d47a755df0fd38edafd46048ea patch 8.2.0621: after running tests asan files may remain Commit: https://github.com/vim/vim/commit/95a467e7eeab664a71446e320d328d1d7c52a35a Author: Bram Moolenaar 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". diff --git a/src/Makefile b/src/Makefile --- 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) diff --git a/src/testdir/Makefile b/src/testdir/Makefile --- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -100,6 +100,7 @@ clean: -rm -f opt_test.vim test.log test_result.log messages -rm -f $(RM_ON_RUN) $(RM_ON_START) -rm -f valgrind.* + -rm -f asan.* test1.out: test1.in -rm -rf $*.failed $(RM_ON_RUN) $(RM_ON_START) wrongtermsize diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 621, +/**/ 620, /**/ 619,