diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-21 18:34:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-21 18:34:42 +0100 |
commit | cf801d4b95180ddaee1bf633ef482232625dd80b (patch) | |
tree | 42076022555a8572e42dfef38d50d927cff18846 /src/testdir/check.vim | |
parent | c856ceb300ff8871ed546e36638f1a28531c379c (diff) |
patch 8.2.5145: exit test causes spurious valgrind reportsv8.2.5145
Problem: Exit test causes spurious valgrind reports.
Solution: Skip test. Add CheckNotValgrind.
Diffstat (limited to 'src/testdir/check.vim')
-rw-r--r-- | src/testdir/check.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/check.vim b/src/testdir/check.vim index aff0918454..d64e8457b1 100644 --- a/src/testdir/check.vim +++ b/src/testdir/check.vim @@ -217,6 +217,14 @@ func CheckNotAsan() endif endfunc +" Command to check for not running under valgrind +command CheckNotValgrind call CheckNotValgrind() +func CheckNotValgrind() + if RunningWithValgrind() + throw 'Skipped: does not work well with valgrind' + endif +endfunc + " Command to check for X11 based GUI command CheckX11BasedGui call CheckX11BasedGui() func CheckX11BasedGui() |