]> granicus.if.org Git - vim/commitdiff
patch 8.2.0621: after running tests asan files may remain v8.2.0621
authorBram Moolenaar <Bram@vim.org>
Thu, 23 Apr 2020 12:41:46 +0000 (14:41 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 23 Apr 2020 12:41:46 +0000 (14:41 +0200)
Problem:    After running tests asan files may remain.
Solution:   Clean up asan files with "make testclean".

src/Makefile
src/testdir/Makefile
src/version.c

index c32ea0840b03ff769887c76bf467821126901549..b110f9113594d0176b7bafd3cf235b620db056e1 100644 (file)
@@ -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)
index 92506e6f416d453989531bc558569542f2e5fb37..7f9ef0434266ab1ccfc4c57986cb6a248acc8e38 100644 (file)
@@ -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
index a46ffb46fa831e1e4393f89cb69bdaf8a7814c81..e446e6bfa9e5ba194d27bfb280ab0651c731e400 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    621,
 /**/
     620,
 /**/