Mercurial > vim
comparison src/testdir/check.vim @ 29253:5dd393285464 v8.2.5145
patch 8.2.5145: exit test causes spurious valgrind reports
Commit: https://github.com/vim/vim/commit/cf801d4b95180ddaee1bf633ef482232625dd80b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 21 18:34:42 2022 +0100
patch 8.2.5145: exit test causes spurious valgrind reports
Problem: Exit test causes spurious valgrind reports.
Solution: Skip test. Add CheckNotValgrind.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 21 Jun 2022 19:45:03 +0200 |
parents | d32dc906dd2c |
children | 1c688281673d |
comparison
equal
deleted
inserted
replaced
29252:49805cb64d1d | 29253:5dd393285464 |
---|---|
215 if execute('version') =~# '-fsanitize=[a-z,]*\<address\>' | 215 if execute('version') =~# '-fsanitize=[a-z,]*\<address\>' |
216 throw 'Skipped: does not work with ASAN' | 216 throw 'Skipped: does not work with ASAN' |
217 endif | 217 endif |
218 endfunc | 218 endfunc |
219 | 219 |
220 " Command to check for not running under valgrind | |
221 command CheckNotValgrind call CheckNotValgrind() | |
222 func CheckNotValgrind() | |
223 if RunningWithValgrind() | |
224 throw 'Skipped: does not work well with valgrind' | |
225 endif | |
226 endfunc | |
227 | |
220 " Command to check for X11 based GUI | 228 " Command to check for X11 based GUI |
221 command CheckX11BasedGui call CheckX11BasedGui() | 229 command CheckX11BasedGui call CheckX11BasedGui() |
222 func CheckX11BasedGui() | 230 func CheckX11BasedGui() |
223 if !g:x11_based_gui | 231 if !g:x11_based_gui |
224 throw 'Skipped: requires X11 based GUI' | 232 throw 'Skipped: requires X11 based GUI' |