annotate runtime/indent/testdir/runtest.vim @ 32497:882402ba6e47 v9.0.1580

patch 9.0.1580: CI: indent test hangs on FreeBSD Commit: https://github.com/vim/vim/commit/9f3afe7a70d50447424b8d7404aae0d641cd827c Author: ichizok <gclient.gaap@gmail.com> Date: Fri May 26 14:40:45 2023 +0100 patch 9.0.1580: CI: indent test hangs on FreeBSD Problem: CI: indent test hangs on FreeBSD. Solution: Set 'nomore' when running the indent tests. (Ozaki Kiichi, closes #12446)
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 May 2023 15:45:04 +0200
parents ebed259f919f
children 448aef880252
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15069
3f82f25df8d2 patch 8.1.0545: when executing indent tests user preferences interfere
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
1 " Runs all the indent tests for which there is no .out file.
3f82f25df8d2 patch 8.1.0545: when executing indent tests user preferences interfere
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
2 "
3f82f25df8d2 patch 8.1.0545: when executing indent tests user preferences interfere
Bram Moolenaar <Bram@vim.org>
parents: 14970
diff changeset
3 " Current directory must be runtime/indent.
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4
15178
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 15069
diff changeset
5 " Only do this with the +eval feature
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 15069
diff changeset
6 if 1
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 15069
diff changeset
7
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 set nocp
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 filetype indent on
16086
bd7461db24b3 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15194
diff changeset
10 syn on
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 set nowrapscan
15194
8b334e4cb97f Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15178
diff changeset
12 set report=9999
20299
8a6e2b44b08f patch 8.2.0705: indent tests don't run on CI for FreeBSD
Bram Moolenaar <Bram@vim.org>
parents: 18848
diff changeset
13 set modeline
30085
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
14 set debug=throw
32497
882402ba6e47 patch 9.0.1580: CI: indent test hangs on FreeBSD
Bram Moolenaar <Bram@vim.org>
parents: 30085
diff changeset
15 set nomore
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 au! SwapExists * call HandleSwapExists()
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 func HandleSwapExists()
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 " Ignore finding a swap file for the test input and output, the user might be
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 " editing them and that's OK.
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 if expand('<afile>') =~ '.*\.\(in\|out\|fail\|ok\)'
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 let v:swapchoice = 'e'
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 endfunc
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25
18122
0cc306ebc8fe patch 8.1.2056: "make test" for indent files doesn't cause make to fail
Bram Moolenaar <Bram@vim.org>
parents: 16086
diff changeset
26 let failed_count = 0
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 for fname in glob('testdir/*.in', 1, 1)
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 let root = substitute(fname, '\.in', '', '')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30 " Execute the test if the .out file does not exist of when the .in file is
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31 " newer.
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32 let in_time = getftime(fname)
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
33 let out_time = getftime(root . '.out')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
34 if out_time < 0 || in_time > out_time
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
35 call delete(root . '.fail')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
36 call delete(root . '.out')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
38 set sw& ts& filetype=
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
39 exe 'split ' . fname
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
40
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 let did_some = 0
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
42 let failed = 0
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
43 let end = 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
44 while 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
45 " Indent all the lines between "START_INDENT" and "END_INDENT"
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
46 exe end
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
47 let start = search('\<START_INDENT\>')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
48 let end = search('\<END_INDENT\>')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
49 if start <= 0 || end <= 0 || end <= start
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
50 if did_some == 0
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
51 call append(0, 'ERROR: START_INDENT and/or END_INDENT not found')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
52 let failed = 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
53 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
54 break
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
55 else
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
56 let did_some = 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
57
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
58 " Execute all commands marked with INDENT_EXE and find any pattern.
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
59 let lnum = start
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
60 let pattern = ''
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
61 let at = ''
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
62 while 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
63 exe lnum + 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
64 let lnum_exe = search('\<INDENT_EXE\>')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
65 exe lnum + 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
66 let indent_at = search('\<INDENT_\(AT\|NEXT\|PREV\)\>')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
67 if lnum_exe > 0 && lnum_exe < end && (indent_at <= 0 || lnum_exe < indent_at)
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
68 exe substitute(getline(lnum_exe), '.*INDENT_EXE', '', '')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
69 let lnum = lnum_exe
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
70 let start = lnum
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
71 elseif indent_at > 0 && indent_at < end
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
72 if pattern != ''
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
73 call append(indent_at, 'ERROR: duplicate pattern')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
74 let failed = 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
75 break
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
76 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
77 let text = getline(indent_at)
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
78 let pattern = substitute(text, '.*INDENT_\S*\s*', '', '')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
79 let at = substitute(text, '.*INDENT_\(\S*\).*', '\1', '')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
80 let lnum = indent_at
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
81 let start = lnum
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
82 else
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
83 break
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
84 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
85 endwhile
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
86
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
87 exe start + 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
88 if pattern == ''
30085
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
89 try
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
90 exe 'normal =' . (end - 1) . 'G'
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
91 catch
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
92 call append(indent_at, 'ERROR: ' . v:exception)
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
93 let failed = 1
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
94 endtry
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
95 else
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
96 let lnum = search(pattern)
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
97 if lnum <= 0
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
98 call append(indent_at, 'ERROR: pattern not found: ' . pattern)
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
99 let failed = 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
100 break
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
101 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
102 if at == 'AT'
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
103 exe lnum
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
104 elseif at == 'NEXT'
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
105 exe lnum + 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
106 else
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
107 exe lnum - 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
108 endif
30085
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
109 try
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
110 normal ==
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
111 catch
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
112 call append(indent_at, 'ERROR: ' . v:exception)
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
113 let failed = 1
ebed259f919f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 20299
diff changeset
114 endtry
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
115 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
116 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
117 endwhile
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
118
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
119 if !failed
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
120 " Check the resulting text equals the .ok file.
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
121 if getline(1, '$') != readfile(root . '.ok')
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
122 let failed = 1
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
123 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
124 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
125
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
126 if failed
18122
0cc306ebc8fe patch 8.1.2056: "make test" for indent files doesn't cause make to fail
Bram Moolenaar <Bram@vim.org>
parents: 16086
diff changeset
127 let failed_count += 1
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
128 exe 'write ' . root . '.fail'
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
129 echoerr 'Test ' . fname . ' FAILED!'
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
130 else
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
131 exe 'write ' . root . '.out'
18848
a0e0f0256d0b Runtime file updates.
Bram Moolenaar <Bram@vim.org>
parents: 18122
diff changeset
132 echo "Test " . fname . " OK\n"
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
133 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
134
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
135 quit! " close the indented file
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
136 endif
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
137 endfor
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
138
15178
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 15069
diff changeset
139 " Matching "if 1" at the start.
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 15069
diff changeset
140 endif
5c3ca8f7adea patch 8.1.0599: without the +eval feature the indent tests don't work
Bram Moolenaar <Bram@vim.org>
parents: 15069
diff changeset
141
18122
0cc306ebc8fe patch 8.1.2056: "make test" for indent files doesn't cause make to fail
Bram Moolenaar <Bram@vim.org>
parents: 16086
diff changeset
142 if failed_count > 0
0cc306ebc8fe patch 8.1.2056: "make test" for indent files doesn't cause make to fail
Bram Moolenaar <Bram@vim.org>
parents: 16086
diff changeset
143 " have make report an error
0cc306ebc8fe patch 8.1.2056: "make test" for indent files doesn't cause make to fail
Bram Moolenaar <Bram@vim.org>
parents: 16086
diff changeset
144 cquit
0cc306ebc8fe patch 8.1.2056: "make test" for indent files doesn't cause make to fail
Bram Moolenaar <Bram@vim.org>
parents: 16086
diff changeset
145 endif
14970
19b757c6c6a7 patch 8.1.0496: no tests for indent files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
146 qall!