Test for 'errorformat'. This will fail if the quickfix feature was disabled.STARTTEST:so small.vim:/start of errorfile/,/end of errorfile/w! Xerrorfile:/start of testfile/,/end of testfile/w! Xtestfile:cf XerrorfilerA:cnrB:cnrC:cnrD:cnrE:w! test.out " Write contents of this file:qa!ENDTESTstart of errorfile"Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set."Xtestfile", line 7 col 19; this is an errorgcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include version.cXtestfile:13: parse error before `asd'make: *** [vim] Error 1in file "Xtestfile" linenr 16: there is an error2 returned"Xtestfile", linenr 19: yet another problemDoes anyone know what is the problem and how to correction it?end of errorfilestart of testfileline 2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 4 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 6 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 8 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 10 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 11 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 12 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 13 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 14 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 15 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 16 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 17 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 18 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 19 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 20 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 21 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxline 22 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxend of testfile
Test for 'errorformat'. This will fail if the quickfix feature was disabled.
STARTTEST
:so small.vim
:/start of errorfile/,/end of errorfile/w! Xerrorfile
:/start of testfile/,/end of testfile/w! Xtestfile
:cf Xerrorfile
rA
:cn
rB
:cn
rC
:cn
rD
:cn
rE
:w! test.out " Write contents of this file
:qa!
ENDTEST
start of errorfile
"Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set.
"Xtestfile", line 7 col 19; this is an error
gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include version.c
Xtestfile:13: parse error before `asd'
make: *** [vim] Error 1
in file "Xtestfile" linenr 16: there is an error
2 returned
"Xtestfile", linenr 19: yet another problem
Does anyone know what is the problem and how to correction it?
end of errorfile
start of testfile
line 2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 4 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 6 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 8 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 10 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 11 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 12 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 13 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 14 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 15 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 16 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 17 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 18 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 19 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 20 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 21 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 22 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
end of testfile