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.

> *** ../vim-8.1.2351/.cirrus.yml       2019-11-27 21:54:53.006023177 +0100
> --- .cirrus.yml       2019-11-27 21:53:11.266504548 +0100
> ***************
> *** 0 ****
> --- 1,9 ----
> + freebsd_12_task:
> +   freebsd_instance:
> +     image: freebsd-12-1-release-amd64
> +   install_script:
> +     pkg install -y gettext gmake
> +   build_script:
> +     - gmake
> +   test_script:
> +     - gmake test
> *** ../vim-8.1.2351/README.md 2019-02-17 23:26:47.206170316 +0100
> --- README.md 2019-11-27 21:53:11.266504548 +0100
> ***************
> *** 2,12 ****
> --- 2,14 ----
>   
>   [![Build 
> Status](https://travis-ci.org/vim/vim.svg?branch=master)](https://travis-ci.org/vim/vim)
>   [![Appveyor Build 
> status](https://ci.appveyor.com/api/projects/status/o2qht2kjm02sgghk?svg=true)](https://ci.appveyor.com/project/chrisbra/vim)
> + [![Build 
> Status](https://api.cirrus-ci.com/github/chrisbra/vim.svg)](https://cirrus-ci.com/github/chrisbra/vim)

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.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20191127220904.GD31092%40256bit.org.

Raspunde prin e-mail lui