comparison src/testdir/test_memory_usage.vim @ 23766:704fdd4d0949 v8.2.2424

patch 8.2.2424: some tests are known to cause an error with ASAN Commit: https://github.com/vim/vim/commit/97202d951685fc4d90085da676a90644cbf72571 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 28 18:34:35 2021 +0100 patch 8.2.2424: some tests are known to cause an error with ASAN Problem: Some tests are known to cause an error with ASAN. Solution: Add CheckNotAsan.
author Bram Moolenaar <Bram@vim.org>
date Thu, 28 Jan 2021 18:45:03 +0100
parents 08940efa6b4e
children b926b24684c1
comparison
equal deleted inserted replaced
23765:6943434d5d93 23766:704fdd4d0949
2 2
3 source check.vim 3 source check.vim
4 CheckFeature terminal 4 CheckFeature terminal
5 CheckNotGui 5 CheckNotGui
6 6
7 if execute('version') =~# '-fsanitize=[a-z,]*\<address\>' 7 " Skip tests on Travis CI ASAN build because it's difficult to estimate memory
8 " Skip tests on Travis CI ASAN build because it's difficult to estimate 8 " usage.
9 " memory usage. 9 CheckNotAsan
10 throw 'Skipped: does not work with ASAN'
11 endif
12 10
13 source shared.vim 11 source shared.vim
14 12
15 func s:pick_nr(str) abort 13 func s:pick_nr(str) abort
16 return substitute(a:str, '[^0-9]', '', 'g') * 1 14 return substitute(a:str, '[^0-9]', '', 'g') * 1