Test failure building 8.2.3567

11 views
Skip to first unread message

Elimar Riesebieter

unread,
Oct 30, 2021, 8:24:34 AM10/30/21
to vim...@googlegroups.com
Hi all,

build environment:
CC=clang13
tmux session
TERM=tmux-256color
compiling 8.2.3567

Failures:
From test_edit.vim:
Found errors in Test_edit_CTRL_hat():
command line..script /source/vim/vim-8.2.3567/src/vim-athena/testdir/runtest.vim[450]..function RunTheTest[44]..Test_edit_CTRL_hat line 10: Expected 0 but got 2

Elimar
--
Learned men are the cisterns of knowledge,
not the fountainheads ;-)

Dominique Pellé

unread,
Oct 30, 2021, 9:04:11 AM10/30/21
to vim_dev
Elimar Riesebieter wrote:

> Hi all,
>
> build environment:
> CC=clang13
> tmux session
> TERM=tmux-256color
> compiling 8.2.3567
>
> Failures:
>         From test_edit.vim:
>         Found errors in Test_edit_CTRL_hat():
>         command line..script /source/vim/vim-8.2.3567/src/vim-athena/testdir/runtest.vim[450]..function RunTheTest[44]..Test_edit_CTRL_hat line 10: Expected 0 but got 2

I can reproduce by building with:

$ CC=clang-13 ./configure --with-features=huge --enable-gui=athena --enable-python3interp=yes
$ make -j10
$ make test_edit
...
Found errors in Test_edit_CTRL_hat():
command line..script /home/pel/sb/vim/src/testdir/runtest.vim[450]..function RunTheTest[44]..Test_edit_CTRL_hat line 10: Expected 0 but got 2

tmux is not needed to reproduce. What's needed in the athena or motif gui (even if the test
fails in the terminal).

I tried building with all GUIs:

gui      test outcome
---      -------
none    Test SKIPPED (xim feature missing)
athena   Test FAILS
motif    Test FAILS
gtk2     Test PASS
gtk3     Test PASS

Maybe we need to skip the test with athena & motif, but it looks like
a workaround. I don't really know whether the test is wrong or whether it shows a bug in Vim.

I'll create a PR with an added `CheckFeature gui_gtk`.

Dominique

Dominique Pellé

unread,
Oct 30, 2021, 9:33:49 AM10/30/21
to vim_dev
Dominique Pellé wrote:

This PR should fix it: https://github.com/vim/vim/pull/9069

Elimar Riesebieter

unread,
Oct 31, 2021, 12:54:09 AM10/31/21
to vim...@googlegroups.com
* Dominique Pellé <dominiq...@gmail.com> [2021-10-30 15:33 +0200]:

[...]
> I tried building with all GUIs:
> >
> > gui test outcome
> > --- -------
> > none Test SKIPPED (xim feature missing)
> > athena Test FAILS
> > motif Test FAILS
> > gtk2 Test PASS
> > gtk3 Test PASS
> >
> > Maybe we need to skip the test with athena & motif, but it looks like
> > a workaround. I don't really know whether the test is wrong or whether it
> > shows a bug in Vim.
> >
> > I'll create a PR with an added `CheckFeature gui_gtk`.
> >
> > Dominique
> >
>
> This PR should fix it: https://github.com/vim/vim/pull/9069

Yep, build runs fine ;-)

Elimar
--
Alles, was viel bedacht wird, wird bedenklich!;-)
Friedrich Nietzsche

Reply all
Reply to author
Forward
0 new messages