On So, 05 Mär 2017, Bram Moolenaar wrote:
> Manuel Ortega wrote:
>
> > After a build and a `make clean`, I now find that `git status` shows:
> > "src/testdir/xxx" as an untracked item.
> >
> > This should either get cleaned up by `make clean`, or be gitignored.
>
> I also had this file, but after deleting it and running tests it doesn't
> come back. I suspect this problem is already fixed.
I believe this comes from the newly generated opt_test.vim script.
Setting verbosefile=xxx will make Vim write out that file.
Please apply the attached patch
I also saw a leftover netbeans file sometimes. But I couldn't reproduce
how this one was left over.
I personally don't like how the src/testdir/opt_test.vim is generated.
Can't we do that as part of test1.in, so that it will always be
recreated on a new test run and not only when make test is called from
the src dir?
Also you might want to add the src/testdir/opt_test.vim to the
.gitignorefile since it is auto generated and it litters the git status
output.
Best,
Christian
--
Man braucht sehr lange, um jung zu werden.
-- Pablo Picasso
--
--
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.
diff --git a/src/gen_opt_test.vim b/src/gen_opt_test.vim
index 677aa74e3..57f64a33c 100644
--- a/src/gen_opt_test.vim
+++ b/src/gen_opt_test.vim
@@ -169,6 +169,10 @@ while 1
for val in a[0]
call add(script, 'set ' . name . '=' . val)
call add(script, 'set ' . shortname . '=' . val)
+ if name is# verbosefile' && !empty(val)
+ call add(script, 'if filereadable("'. val.
+ \ '") | call delete("'. val. '") | endif')
+ endif
endfor
" setting an option can only fail when it's implemented.