Permalink
Browse files

patch 8.0.0386: tiny build has a problem with generating the options …

…test

Problem:    Tiny build has a problem with generating the options test.
Solution:   Change the "if" to skip over statements.
  • Loading branch information...
brammool committed Feb 27, 2017
1 parent b5e8377 commit 5b3af14b34c97ab58bfd4699bc2f3e5a2b704117
Showing with 8 additions and 5 deletions.
  1. +6 −5 src/gen_opt_test.vim
  2. +2 −0 src/version.c
View
@@ -1,10 +1,10 @@
" Script to generate testdir/opt_test.vim from option.c
-if 0
- finish
-endif
-
set cpo=&vim
+
+" Only do this when build with the +eval feature.
+if 1
+
set nomore
let script = [
@@ -130,7 +130,6 @@ let test_values = {
\ 'winaltkeys': [['menu', 'no'], ['', 'xxx']],
\
\ 'luadll': [[], []],
- \ 'macatsui': [[], []],
\ 'perldll': [[], []],
\ 'pythondll': [[], []],
\ 'pythonthreedll': [[], []],
@@ -192,4 +191,6 @@ call add(script, 'let &lines = save_lines')
call writefile(script, 'testdir/opt_test.vim')
+endif
+
qa!
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 386,
/**/
385,
/**/

0 comments on commit 5b3af14

Please sign in to comment.