diff options
| author | Ashkan Kiani <ashkan.k.kiani@gmail.com> | 2019-11-24 01:22:16 -0800 |
|---|---|---|
| committer | Ashkan Kiani <ashkan.k.kiani@gmail.com> | 2019-11-24 01:22:16 -0800 |
| commit | f7c20b94c7c79ce883fa4f561c5c92f59a06641a (patch) | |
| tree | 7d41dc325c9bf162527fc448cdcb98179162e9c1 /src/nvim/testdir/shared.vim | |
| parent | d410812311f7b462420690455914ea1316953b3a (diff) | |
| parent | 222637c341700294a059651bcea62d2e91795646 (diff) | |
| download | rneovim-f7c20b94c7c79ce883fa4f561c5c92f59a06641a.tar.gz rneovim-f7c20b94c7c79ce883fa4f561c5c92f59a06641a.tar.bz2 rneovim-f7c20b94c7c79ce883fa4f561c5c92f59a06641a.zip | |
Merge branch 'master' into lsp-followup
Diffstat (limited to 'src/nvim/testdir/shared.vim')
| -rw-r--r-- | src/nvim/testdir/shared.vim | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/nvim/testdir/shared.vim b/src/nvim/testdir/shared.vim index a5d83d6a25..b0b59db686 100644 --- a/src/nvim/testdir/shared.vim +++ b/src/nvim/testdir/shared.vim @@ -69,7 +69,8 @@ endfunc " Read the port number from the Xportnr file. func GetPort() let l = [] - for i in range(200) + " with 200 it sometimes failed + for i in range(400) try let l = readfile("Xportnr") catch @@ -279,11 +280,15 @@ func GetVimCommand(...) return cmd endfunc -" Get the command to run Vim, with --clean. +" Get the command to run Vim, with --clean instead of "-u NONE". func GetVimCommandClean() let cmd = GetVimCommand() let cmd = substitute(cmd, '-u NONE', '--clean', '') let cmd = substitute(cmd, '--headless', '', '') + + " Optionally run Vim under valgrind + " let cmd = 'valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind ' . cmd + return cmd endfunc |