Hi,

On Mon, May 11, 2020 at 10:57 PM Vladimir Lomov <[email protected]>
wrote:

> *Describe the bug*
> test_terminal.vim fails after patch 8.2.0738 (commit 91689ea
> <https://github.com/vim/vim/commit/91689ea8ae01acb3daf8ba0ee91acd729af7c84c>
> ).
>
> *To Reproduce*
> Detailed steps to reproduce the behavior:
>
>    1. Clone git repository to local host;
>    2. configure source
>    3. run make
>    4. run make -j1 test
>
> *Expected behavior*
> Test should pass.
>
> *Environment (please complete the following information):*
>
>    - Vim version: 8.2.0740 (git)
>    - OS: Archlinux x86_64
>    - Terminal: tmux (tests runs with TERM=xterm).
>
> *Additional context*
> Terminal output:
>
> Failures:
>         test86 FAILED
>         test87 FAILED
>         From test_terminal.vim:
>         Found errors in Test_term_keycode_translation():
>         Run 1:
>         function RunTheTest[39]..Test_term_keycode_translation line 30: 
> Expected ['<F1>', '<F2>', '<F3>', '<F4>', '<F5>', '<F6>', '<F7>', '<F8>', 
> '<F9>', '<F10>', '<F11>', '<F12>', '<Home>', '<S-Home>', '<C-Home>', '<End>', 
> '<S-End>', '<C-End>', '<Insert>', '<Del>', '<Left>', '<S-Left>', '<C-Left>', 
> '<Right>', '<S-Right>', '<C-Right>', '<Up>', '<S-Up>', '<Down>', '<S-Down>', 
> '0123456789', '\t\t.+-*/'] but got ['<F1>', '<F2>', '<F3>', '<F4>', '<F5>', 
> '<F6>', '<F7>', '<F8>', '<F9>', '<F10>', '<F11>', '<F12>', '<Home>', 
> '<S-Home>', '<C-Home>', '<End>', '<S-End>', '<C-End>', '<Insert>', '<Del>', 
> '<Left>', '', '\t\t.+-*/<S-Left>', '<C-Left>', '<Right>', '<S-Right>', 
> '<C-Right>', '<Up>', '<S-Up>', '<Down>', '<S-Down>', '45678012']
>         Run 2:
>         function RunTheTest[39]..Test_term_keycode_translation line 30: 
> Expected ['<F1>', '<F2>', '<F3>', '<F4>', '<F5>', '<F6>', '<F7>', '<F8>', 
> '<F9>', '<F10>', '<F11>', '<F12>', '<Home>', '<S-Home>', '<C-Home>', '<End>', 
> '<S-End>', '<C-End>', '<Insert>', '<Del>', '<Left>', '<S-Left>', '<C-Left>', 
> '<Right>', '<S-Right>', '<C-Right>', '<Up>', '<S-Up>', '<Down>', '<S-Down>', 
> '0123456789', '\t\t.+-*/'] but got ['<F1>', '<F2>', '<F3>', '<F4>', '<F5>', 
> '<F6>', '<F7>', '<F8>', '<F9>', '<F10>', '<F11>', '<F12>', '<Home>', 
> '<S-Home>', '<C-Home>', '<End>', '<S-End>', '<C-End>', '<Insert>', '<Del>', 
> '<Left>', '', '\t\t.+-*/<S-Left>', '<C-Left>', '<Right>', '<S-Right>', 
> '<C-Right>', '<Up>', '<S-Up>', '<Down>', '<S-Down>', '45678012']
>         Flaky test failed too often, giving up
>
>
> It looks like there is a problem in properly recognizing the arrow keys in
the
terminal window in this test run. Can you manually try creating a terminal
window with Vim using the following command?

  :call term_start('vim')

In the terminal window, can you press each of the following keys preceded by
CTRL-K

<Left>, <S-Left>, <C-Left>, <Right>, <S-Right>, <C-Right>, <Up>, <S-Up>,
<Down>, <S-Down>'

and get the text from the terminal window?

Thanks,
Yegappan

-- 
-- 
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/CAAW7x7k07n2Hbiq-cQTTy5nBZpVk7cwmi4-8%2B44MzU8U4knHFg%40mail.gmail.com.

Raspunde prin e-mail lui