Problem: "make test" for indent files doesn't cause make to fail.
Solution: Exit the script with ":cquit". (Daniel Hahler, closes #4949)
src/testdir/viminfo
src/testdir/opt_test.vim
runtime/indent/testdir/*.out
+runtime/indent/testdir/*.fail
src/memfile_test
src/json_test
src/message_test
endif
endfunc
+let failed_count = 0
for fname in glob('testdir/*.in', 1, 1)
let root = substitute(fname, '\.in', '', '')
endif
if failed
+ let failed_count += 1
exe 'write ' . root . '.fail'
echoerr 'Test ' . fname . ' FAILED!'
else
" Matching "if 1" at the start.
endif
+if failed_count > 0
+ " have make report an error
+ cquit
+endif
qall!
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2056,
/**/
2055,
/**/