locally failing test_vim9_builtin

17 views
Skip to first unread message

Ernie Rael

unread,
Sep 9, 2023, 1:20:19 PM9/9/23
to vim...@googlegroups.com

Hi all,

I'll often do:

make $(ls test_vim9*.vim | sed 's/\.vim$//' | grep -v vim9_builtin)

I need to exclude test_vim9_builtin because I typically get the errors, see below. Any idea on what's going on?

-ernie

Abbreviating the errors so maybe it will get passed by the google groups filter

Found errors in Test_remote_expr():
[...]Expected 'E241: Unable to send to ' but got 'E449: Invalid expression received'
[...]Test_remote_foreground line 8: command did not fail: remote_foreground("")
Found errors in Test_remote_send():

Christian Brabandt

unread,
Sep 10, 2023, 12:52:01 PM9/10/23
to vim...@googlegroups.com
Not sure how you run it, but it seems Vim cannot connect to another Vim
Server. Perhaps trying unsetting $DISPLAY (or not running it in your X11
session).

Best,
Christian
--
Is he the MAGIC INCA carrying a FROG on his shoulders?? Is the FROG
his GUIDELIGHT?? It is curious that a DOG runs already on the ESCALATOR ...

Ernie Rael

unread,
Sep 10, 2023, 1:26:10 PM9/10/23
to vim...@googlegroups.com
On 23/09/10 9:51 AM, Christian Brabandt wrote:
On Sa, 09 Sep 2023, Ernie Rael wrote:

Hi all,

I'll often do:

   make $(ls test_vim9*.vim | sed 's/\.vim$//' | grep -v vim9_builtin)

I need to exclude test_vim9_builtin because I typically get the errors, see
below. Any idea on what's going on?

-ernie


Found errors in Test_remote_expr():
Not sure how you run it, 

I do

make test_vim9_builtin

If I run a shell script

unset DISPLAY
make test_vim9_builtin

The error does not occur. Thanks.

This, explains (I'm waving my hands) that when doing `make test_vim9_builtin` some random gvim pops up to the foreground. Out of curiosity, I'll look at Test_remote_expr (or at least put it on a todo list) since I have no idea what feature I'm unfamiliar with is being tested.

-ernie

Christian Brabandt

unread,
Sep 10, 2023, 1:31:10 PM9/10/23
to vim...@googlegroups.com

On So, 10 Sep 2023, Ernie Rael wrote:

> If I run a shell script
>
> unset DISPLAY
> make test_vim9_builtin
>
> The error does not occur. Thanks.
>
> This, explains (I'm waving my hands) that when doing `make
> test_vim9_builtin` some random gvim pops up to the foreground. Out of
> curiosity, I'll look at Test_remote_expr (or at least put it on a todo list)
> since I have no idea what feature I'm unfamiliar with is being tested.

It is using the remote expression feature, that only works with a X11
server. Not clear why it doesn't work correctly in your case. Are you
possibly using Wayland instead?

I usually don't run the tests in a X11 session, so I don't know if there
is something wrong with the test (or your Environment).

Thanks,
Christian
--
Old Grandad is dead but his spirits live on.

Ernie Rael

unread,
Sep 10, 2023, 1:50:24 PM9/10/23
to vim...@googlegroups.com
On 23/09/10 10:31 AM, Christian Brabandt wrote:
On So, 10 Sep 2023, Ernie Rael wrote:

If I run a shell script

   unset DISPLAY
   make test_vim9_builtin

The error does not occur. Thanks.

This, explains (I'm waving my hands) that when doing `make
test_vim9_builtin` some random gvim pops up to the foreground. Out of
curiosity, I'll look at Test_remote_expr (or at least put it on a todo list)
since I have no idea what feature I'm unfamiliar with is being tested.
It is using the remote expression feature, that only works with a X11 
server. Not clear why it doesn't work correctly in your case. Are you 
possibly using Wayland instead?

Not wayland. I'm running a vanilla System76 popOS

$ env|grep XDG_SESSION
XDG_SESSION_DESKTOP=pop
XDG_SESSION_TYPE=x11
XDG_SESSION_CLASS=user

Executing from the default console (I guess xterm is long gone), ps has

/usr/bin/gnome-terminal.real

plus hundreds of other things.

-ernie

Reply all
Reply to author
Forward
0 new messages