Dominique wrote:
> @dpelle wrote:
>
> > Newly added Test_term_gettitle() fails in CI despite passing locally on my
> > laptop.
>
> I noticed that travis does not run with a real X-server, it uses Xvfb.
> I started locally Xvfb on my machine:
> ```
> $ Xvfb :99
> ```
> Then in another terminal:
> ```
> $ export DISPLAY=:99
> $ cd vim/src/testdir
> $ make
> ```
> And I could reproduce the same failure as in Travis:
> ```
> Found errors in Test_term_gettitle():
> function
> RunTheTest[40]..Test_term_gettitle[11]..WaitForAssert[2]..<SNR>6_WaitForCommon[11]..<lambda>6
> line 1: Expected '[No Name] - VIM' but got ''
> function
> RunTheTest[40]..Test_term_gettitle[14]..WaitForAssert[2]..<SNR>6_WaitForCommon[11]..<lambda>7
> line 1: Pattern 'Xfoo (.*[/\\\\]testdir) - VIM' does not match ''
> function
> RunTheTest[40]..Test_term_gettitle[17]..WaitForAssert[2]..<SNR>6_WaitForCommon[11]..<lambda>8
> line 1: Expected 'foo' but got ''
> ```
> I don't know yet how to fix it, but at least I can now reproduce the issue.
> If there is no simple way to fix it (?), it does not really look worth
> testing term_gettitle().
Ah, that explains, the X environment is incomplete. I found hints that
one needs to run a window manager.
In your local setup with Xvfb, you can try:
twm -display :99 &
If that works, then try changing the Travis setup with something like
that.
--
hundred-and-one symptoms of being an internet addict:
128. You can access the Net -- via your portable and cellular phone.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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].
For more options, visit https://groups.google.com/d/optout.