On 2016-07-11 23:36, Bram Moolenaar wrote:
> Øyvind A. Holm <[email protected]> wrote:
> > Around one month ago, the test suite started to fail. It was around
> > the same day as I installed a new kernel, so I thought that
> > something was wrong locally. But when I noticed today that it also
> > fails on a server without any changes, something weird was going on.
> >
> > The failing test is `test_listlbr_utf8`:
> >
> > [...]
> >
> > The commit that result in the fail is 74db34c (Vim 7.4.753,
> > 2015-06-25), but what triggers it, is a change I did some weeks ago
> > in ~/.vim/syntax/c.vim, setting textwidth=72. I later changed it to
> > 79 because it turns out you were right, but because it isn't 0, the
> > test fails. This patch adds textwidth=0 to test_listlbr_utf8.in
> > which makes the test pass.
>
> Thanks for pointing this out. The tests should not pick up anything
> from your ~/.vim directory. I'll see if we can solve that in a generic
> way.

How about cleaning out the environment and set HOME to something
non-existing before the tests run? I could've created a patch for this,
but don't know how this works on MS Windows and other non-*nix systems
anymore, so it would only be a partial solution. I can check into it and
create an initial patch if you think this is the way to go.

Cheers,
Øyvind

-- 
-- 
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.

Raspunde prin e-mail lui