Mercurial > vim
comparison src/testdir/check.vim @ 18736:97d534e17874 v8.1.2358
patch 8.1.2358: tests fail on Cirrus CI for FreeBSD
Commit: https://github.com/vim/vim/commit/9134f1ecd41207045db3cb47f0269497980395ad
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 29 20:26:13 2019 +0100
patch 8.1.2358: tests fail on Cirrus CI for FreeBSD
Problem: Tests fail on Cirrus CI for FreeBSD.
Solution: Fix a test and skip some. (Christian Brabandt, closes https://github.com/vim/vim/issues/5281)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 29 Nov 2019 20:30:05 +0100 |
parents | f6dcf7eabd26 |
children | 77cce0439714 |
comparison
equal
deleted
inserted
replaced
18735:802cf4ddafb6 | 18736:97d534e17874 |
---|---|
62 if !has('unix') | 62 if !has('unix') |
63 throw 'Skipped: only works on Unix' | 63 throw 'Skipped: only works on Unix' |
64 endif | 64 endif |
65 endfunc | 65 endfunc |
66 | 66 |
67 " Command to check for not running on a BSD system. | |
68 " TODO: using this checks should not be needed | |
69 command CheckNotBSD call CheckNotBSD() | |
70 func CheckNotBSD() | |
71 if has('bsd') | |
72 throw 'Skipped: does not work on BSD' | |
73 endif | |
74 endfunc | |
75 | |
67 " Command to check that making screendumps is supported. | 76 " Command to check that making screendumps is supported. |
68 " Caller must source screendump.vim | 77 " Caller must source screendump.vim |
69 command CheckScreendump call CheckScreendump() | 78 command CheckScreendump call CheckScreendump() |
70 func CheckScreendump() | 79 func CheckScreendump() |
71 if !CanRunVimInTerminal() | 80 if !CanRunVimInTerminal() |