summaryrefslogtreecommitdiffstats
path: root/src/gen_opt_test.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-27 22:59:40 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-27 22:59:40 +0100
commit5b3af14b34c97ab58bfd4699bc2f3e5a2b704117 (patch)
tree526ec2a6b3d647d4d2910d7c7a1ce8232dbf1e67 /src/gen_opt_test.vim
parentb5e8377364110ee70090274da15d202778e96a64 (diff)
patch 8.0.0386: tiny build has a problem with generating the options testv8.0.0386
Problem: Tiny build has a problem with generating the options test. Solution: Change the "if" to skip over statements.
Diffstat (limited to 'src/gen_opt_test.vim')
-rw-r--r--src/gen_opt_test.vim11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gen_opt_test.vim b/src/gen_opt_test.vim
index 745e5ea4c1..677aa74e34 100644
--- a/src/gen_opt_test.vim
+++ b/src/gen_opt_test.vim
@@ -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!