diff 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
line wrap: on
line diff
--- a/src/testdir/test_memory_usage.vim
+++ b/src/testdir/test_memory_usage.vim
@@ -4,11 +4,9 @@ source check.vim
 CheckFeature terminal
 CheckNotGui
 
-if execute('version') =~# '-fsanitize=[a-z,]*\<address\>'
-  " Skip tests on Travis CI ASAN build because it's difficult to estimate
-  " memory usage.
-  throw 'Skipped: does not work with ASAN'
-endif
+" Skip tests on Travis CI ASAN build because it's difficult to estimate memory
+" usage.
+CheckNotAsan
 
 source shared.vim