On Mi, 27 Nov 2019, Bram Moolenaar wrote:
> Patch 8.1.2352
> Problem: CI doesn't cover FreeBSD.
> Solution: Configure Cirrus-CI. (Christian Brabandt, closes #5273)
> Files: .cirrus.yml, README.md
You are too fast ;)
This PR should originally go to my fork so I could test it correctly. I
did not notice that github forwarded the original PR to the upstream
repository, and then I merged by mistake.
Once cirrus CI is enabled for the vim repository using
https://github.com/marketplace/cirrus-ci you can change the badge link from
github/chrisbra/vim to github/vim/vim
and have a correct badge for this CI repo.
Note: My current half-way working patch looks like this:
https://github.com/vim/vim/compare/master...chrisbra:master
Things to note:
- gmake isn't needed, Vim builds fine with make. It's just patch 8.1.2344 causes some problems.
- Vim tests hang at or after test_alot_utf8.vim
- I traced this to `:source!` not correctly working (Vim would hang in
command line mode, waiting for an enter for the `:s` command to complete).
- (I initially tried to add a timer with 15 seconds to runtest.vim, that calls interrupt() so that
every hanging test would eventually quit, but that just made other tests hang, so I commented it out)
- Instead, I reset REDIR_TO_NULL, to be able to see where Vim hangs, then it at least finished, but with
the following failures:
https://api.cirrus-ci.com/v1/task/6555324219129856/logs/test.log
Failures:
From test_quickfix.vim:
Found errors in Test_switchbuf():
function RunTheTest[41]..Test_switchbuf line 130: Expected 'split' but got ''
function RunTheTest[41]..Test_switchbuf line 135: Expected 'usetab' but got 'useopen'
function RunTheTest[41]..Test_switchbuf line 140: Expected '' but got 'useopen'
From test_terminal.vim:
Found errors in Test_terminal_composing_unicode():
Run 1:
function RunTheTest[41]..Test_terminal_composing_unicode line 28: Expected 'ä̈�bc' but got ''
function RunTheTest[41]..Test_terminal_composing_unicode line 30: Expected 'ä̈�' but got ''
function RunTheTest[41]..Test_terminal_composing_unicode line 31: Expected 'b' but got ''
function RunTheTest[41]..Test_terminal_composing_unicode line 32: Expected 'c' but got ''
function RunTheTest[41]..Test_terminal_composing_unicode line 39: Expected 'が��゙��ぎ��ぐ��゙��げ��ご��゙��' but got 'echo が��゙��ぎ��ぐ��゙��げ��ご��゙��'
function RunTheTest[41]..Test_terminal_composing_unicode line 41: Expected 'が��゙��' but got 'e'
function RunTheTest[41]..Test_terminal_composing_unicode line 42: Expected 'ぎ��' but got 'c'
function RunTheTest[41]..Test_terminal_composing_unicode line 43: Expected 'ぐ��゙��' but got 'h'
function RunTheTest[41]..Test_terminal_composing_unicode line 44: Expected 'げ��' but got 'o'
function RunTheTest[41]..Test_terminal_composing_unicode line 45: Expected 'ご��゙��' but got ' '
function RunTheTest[41]..Test_terminal_composing_unicode line 51: Pattern 'echo abc ̈�̈�' does not match 'が��゙��ぎ��ぐ��゙��げ��ご��゙��'
function RunTheTest[41]..Test_terminal_composing_unicode line 52: Expected 'abc ̈�̈�' but got '# echo abc ̈�̈�'
function RunTheTest[41]..Test_terminal_composing_unicode line 54: Expected ' ̈�̈�' but got 'c'
Run 2:
function RunTheTest[41]..Test_terminal_composing_unicode line 28: Expected 'ä̈�bc' but got ''
function RunTheTest[41]..Test_terminal_composing_unicode line 30: Expected 'ä̈�' but got ''
function RunTheTest[41]..Test_terminal_composing_unicode line 31: Expected 'b' but got ''
function RunTheTest[41]..Test_terminal_composing_unicode line 32: Expected 'c' but got ''
function RunTheTest[41]..Test_terminal_composing_unicode line 39: Expected 'が��゙��ぎ��ぐ��゙��げ��ご��゙��' but got 'echo が��゙��ぎ��ぐ��゙��げ��ご��゙��'
function RunTheTest[41]..Test_terminal_composing_unicode line 41: Expected 'が��゙��' but got 'e'
function RunTheTest[41]..Test_terminal_composing_unicode line 42: Expected 'ぎ��' but got 'c'
function RunTheTest[41]..Test_terminal_composing_unicode line 43: Expected 'ぐ��゙��' but got 'h'
function RunTheTest[41]..Test_terminal_composing_unicode line 44: Expected 'げ��' but got 'o'
function RunTheTest[41]..Test_terminal_composing_unicode line 45: Expected 'ご��゙��' but got ' '
function RunTheTest[41]..Test_terminal_composing_unicode line 51: Pattern 'echo abc ̈�̈�' does not match 'が��゙��ぎ��ぐ��゙��げ��ご��゙��'
function RunTheTest[41]..Test_terminal_composing_unicode line 52: Expected 'abc ̈�̈�' but got '# echo abc ̈�̈�'
function RunTheTest[41]..Test_terminal_composing_unicode line 54: Expected ' ̈�̈�' but got 'c'
Flaky test failed too often, giving up
From test_alot_utf8.vim:
Found errors in Test_gap():
function RunTheTest[41]..Test_gap line 3: Expected ['ABCD', '', 'defg'] but got ['ABCDDEFG']
Found errors in Test_source_ctrl_v():
function RunTheTest[41]..Test_source_ctrl_v line 16: Expected ['sd', 'map __2 asd\esecondsd\esd0map __5 asd0fifth'] but got ['sdmap __2 asd\esecondsd\esd0map __5 asd0fifth']
Now its too late, need some sleep. Will have a look later this week.
Best,
Christian
--
Lieber eine Fliege im Porzellan-Laden als ein Elefant in der Suppe.