2017-03-23 21:22 GMT+09:00 h_east <h.east....@gmail.com>:

> Hi Kazunobu and all,
>
> 2017-3-23(Thu) 21:01:32 UTC+9 Kazunobu Kuriyama:
> > 2017-03-23 18:13 GMT+09:00 Elimar Riesebieter <ries...@lxtec.de>:
> >
> >
> > * Bram Moolenaar <br...@moolenaar.net> [2017-03-22 22:30 +0100]:
> >
> >
> >
> >
> >
> > >
> >
> > > Elimar Riesebieter wrote:
> >
> > >
> >
> > > > > Hirohito Higashi wrote:
> >
> > > > >
> >
> > > > > > My config:
> >
> > > > > >   $ ./configure --with-features=huge --enable-gui=gnome2
> --enable-fail-if-missing
> >
> > > > > > My env.:
> >
> > > > > >   I am connecting to fedora 25 with ssh via PuTTY on Windows 7.
> >
> > > > > > Vim version:
> >
> > > > > >   8.0.502
> >
> > > > > >
> >
> > > > > > Executed command:
> >
> > > > > >   $ cd vim/src
> >
> > > > > >   $ make test
> >
> > > > > >
> >
> > > > > > Execution result:
> >
> > > > > > I got the following error.
> >
> > > > > > -------->8--------
> >
> > > > > > Test results:
> >
> > > > > >
> >
> > > > > >
> >
> > > > > > >From test_clientserver.vim:
> >
> > > > > > Found errors in Test_client_server():
> >
> > > > > > First run:
> >
> > > > > > function RunTheTest[24]..Test_client_server line 17: Pattern
> 'XVIMTEST' does not match ''
> >
> > > > > > Caught exception in Test_client_server(): Vim(call):E240: No
> connection to the X server @ function RunTheTest[24]..Test_client_server,
> line 19
> >
> > > > > > Second run:
> >
> > > > > > function RunTheTest[24]..Test_client_server line 17: Pattern
> 'XVIMTEST' does not match ''
> >
> > > > > > Caught exception in Test_client_server(): Vim(call):E240: No
> connection to the X server @ function RunTheTest[24]..Test_client_server,
> line 19
> >
> > > > >
> >
> > > > > Why is there no connection to the X server?  Anyway, we could
> catch this
> >
> > > > > error and give up.
> >
> > > >
> >
> > > > There might be the case one builds vim on a headless system. I.e.
> >
> > > > some build servers of distro's?
> >
> > >
> >
> > > Can you try this patch:
> >
> > >
> >
> > >
> >
> > > --- /home/mool/vim/git/vim80/src/testdir/test_clientserver.vim
> 2017-03-19 21:20:45.909034204 +0100
> >
> > > +++ testdir/test_clientserver.vim     2017-03-22 22:19:57.761651837
> +0100
> >
> > > @@ -11,6 +11,12 @@
> >
> > >    if cmd == ''
> >
> > >      return
> >
> > >    endif
> >
> > > +  try
> >
> > > +    call serverlist()
> >
> > > +  catch /E240:/
> >
> > > +    " No connection to the X server, give up.
> >
> > > +    finish
> >
> > > +  endtry
> >
> > >
> >
> > >    let name = 'XVIMTEST'
> >
> > >    let cmd .= ' --servername ' . name
> >
> >
> >
> > From test_quotestar.vim:
> >
> >   Found errors in Test_quotestar():
> >
> >   First run:
> >
> >   function RunTheTest[24]..Test_quotestar[8]..Do_test_quotestar_for_x11
> line 21: Pattern 'XVIMCLIPBOARD' does not match ''
> >
> >   Caught exception in Test_quotestar(): Vim(call):E240: No connection to
> the X server @ function 
> RunTheTest[24]..Test_quotestar[8]..Do_test_quotestar_for_x11,
> line 31
> >
> >   Second run:
> >
> >   function RunTheTest[24]..Test_quotestar[8]..Do_test_quotestar_for_x11
> line 21: Pattern 'XVIMCLIPBOARD' does not match ''
> >
> >   Caught exception in Test_quotestar(): Vim(call):E240: No connection to
> the X server @ function 
> RunTheTest[24]..Test_quotestar[8]..Do_test_quotestar_for_x11,
> line 31
> >
> >
> >
> > From test_clientserver.vim:
> >
> >   Found errors in Test_client_server():
> >
> >   First run:
> >
> >   function RunTheTest[24]..Test_client_server line 23: Pattern
> 'XVIMTEST' does not match ''
> >
> >   Caught exception in Test_client_server(): Vim(call):E240: No
> connection to the X server @ function RunTheTest[24]..Test_client_server,
> line 25
> >
> >   Second run:
> >
> >   function RunTheTest[24]..Test_client_server line 23: Pattern
> 'XVIMTEST' does not match ''
> >
> >   Caught exception in Test_client_server(): Vim(call):E240: No
> connection to the X server @ function RunTheTest[24]..Test_client_server,
> line 25
> >
> >
> >
> > Elimar
> >
> >
> >
> > Since test_quotestar hasn't been given any handling for E240 yet, the
> result is just what we are expecting.
> >
> >
> >
> > As for test_clientserver, however, the E240 exception should be caught
> and hence the test would be skipped gracefully if Bram's patch were
> included in test_clientserver.vim.
> >
> >
> > So, the result of test_clientserver looks as if the patch were not
> included.  I'm wondering if the test was done with the patched
> test_clientserver.vim.
>
> As in mentoring a few hours ago, in my environment `:echo serverlist()`
> will not raise exceptions.
> Unfortunately, your guess is out of hand.
>

I distinguish Elimar Riesebieter's issue from yours; the former is about a
headless system where X11 can't run; the latter about an environment where
the test suite tries to run X11 on a remote system (i.e., something
unusual) via an ssh connection from Windows and fails for some reason.

I thought Bram tried to address the former issue.

>
> --
> Best regards,
> Hirohito Higashi (a.k.a. h_east)
>
> --
> --
> 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 vim_dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui