Merged from the latest developing branch.
[MacVim.git] / src / testdir / test10.in
blob6d0c721ddd497a19a599afe08735f8a23d458942
1 Test for 'errorformat'.  This will fail if the quickfix feature was disabled.
3 STARTTEST
4 :so small.vim
5 :/start of errorfile/,/end of errorfile/w! Xerrorfile
6 :/start of testfile/,/end of testfile/w! Xtestfile
7 :cf Xerrorfile
8 rA
9 :cn
11 :cn
13 :cn
15 :cn
17 :w! test.out             " Write contents of this file
18 :qa!
19 ENDTEST
21 start of errorfile
22 "Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set.
23 "Xtestfile", line 7 col 19; this is an error
24 gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include  version.c
25 Xtestfile:13: parse error before `asd'
26 make: *** [vim] Error 1
27 in file "Xtestfile" linenr 16: there is an error
29 2 returned
30 "Xtestfile", linenr 19: yet another problem
32 Does anyone know what is the problem and how to correction it?
33 end of errorfile
35 start of testfile
36 line 2  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
37 line 3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
38 line 4  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
39 line 5  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
40 line 6  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
41 line 7  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
42 line 8  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
43 line 9  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
44 line 10 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
45 line 11 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
46 line 12 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
47 line 13 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
48 line 14 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
49 line 15 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
50 line 16 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
51 line 17 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
52 line 18 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
53 line 19 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
54 line 20 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
55 line 21 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
56 line 22 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
57 end of testfile