aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/check.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-17 12:13:29 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-17 13:51:46 +0800
commitb0bbcfa2392a0b6c58274baf5facadda6cdff10a (patch)
treec3ad4326740c47a6e9619c720bfd94874516079e /src/nvim/testdir/check.vim
parent656a1889ee48f5d48d248fb5b6b88e2a113c090f (diff)
downloadrneovim-b0bbcfa2392a0b6c58274baf5facadda6cdff10a.tar.gz
rneovim-b0bbcfa2392a0b6c58274baf5facadda6cdff10a.tar.bz2
rneovim-b0bbcfa2392a0b6c58274baf5facadda6cdff10a.zip
vim-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. https://github.com/vim/vim/commit/97202d951685fc4d90085da676a90644cbf72571 Move CheckNotMSWindows to the right place. Omit test_memory_usage.vim: a Lua test is used for this file.
Diffstat (limited to 'src/nvim/testdir/check.vim')
-rw-r--r--src/nvim/testdir/check.vim16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nvim/testdir/check.vim b/src/nvim/testdir/check.vim
index 8f97d959ce..4107df99d6 100644
--- a/src/nvim/testdir/check.vim
+++ b/src/nvim/testdir/check.vim
@@ -55,6 +55,14 @@ func CheckMSWindows()
endif
endfunc
+" Command to check for NOT running on MS-Windows
+command CheckNotMSWindows call CheckNotMSWindows()
+func CheckNotMSWindows()
+ if has('win32')
+ throw 'Skipped: does not work on MS-Windows'
+ endif
+endfunc
+
" Command to check for running on Unix
command CheckUnix call CheckUnix()
func CheckUnix()
@@ -129,14 +137,6 @@ func CheckEnglish()
endif
endfunc
-" Command to check for NOT running on MS-Windows
-command CheckNotMSWindows call CheckNotMSWindows()
-func CheckNotMSWindows()
- if has('win32')
- throw 'Skipped: does not work on MS-Windows'
- endif
-endfunc
-
" Command to check for not running under ASAN
command CheckNotAsan call CheckNotAsan()
func CheckNotAsan()