Mercurial > vim
annotate src/testdir/Make_dos.mak @ 6947:1efa7c2b9368 v7.4.792
patch 7.4.792
Problem: Can only conceal text by defining syntax items.
Solution: Use matchadd() to define concealing. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 21 Jul 2015 15:48:27 +0200 |
parents | 4db70c94226b |
children | 814f1f569e4a |
rev | line source |
---|---|
7 | 1 # |
2440
fc695854c33a
Correct comments in testdir makefiles. (John Beckett)
Bram Moolenaar <bram@vim.org>
parents:
2232
diff
changeset
|
2 # Makefile to run all tests for Vim, on Dos-like machines. |
7 | 3 # |
4 # Requires a set of Unix tools: echo, diff, etc. | |
5 | |
6 VIMPROG = ..\\vim | |
7 | |
8 # Omitted: | |
9 # test2 "\\tmp" doesn't work. | |
10 # test10 'errorformat' is different | |
11 # test12 can't unlink a swap file | |
12 # test25 uses symbolic link | |
13 # test27 can't edit file with "*" in file name | |
5116
6cabac58f26f
updated for version 7.3.1301
Bram Moolenaar <bram@vim.org>
parents:
5104
diff
changeset
|
14 # test97 \{ and \$ are not escaped characters. |
7 | 15 |
16 SCRIPTS16 = test1.out test19.out test20.out test22.out \ | |
17 test23.out test24.out test28.out test29.out \ | |
18 test35.out test36.out test43.out \ | |
19 test44.out test45.out test46.out test47.out \ | |
270 | 20 test48.out test51.out test53.out test54.out \ |
618 | 21 test55.out test56.out test57.out test58.out test59.out \ |
1358 | 22 test60.out test61.out test62.out test63.out test64.out |
7 | 23 |
24 SCRIPTS = test3.out test4.out test5.out test6.out test7.out \ | |
25 test8.out test9.out test11.out test13.out test14.out \ | |
26 test15.out test17.out test18.out test21.out test26.out \ | |
27 test30.out test31.out test32.out test33.out test34.out \ | |
28 test37.out test38.out test39.out test40.out test41.out \ | |
2005 | 29 test42.out test52.out test65.out test66.out test67.out \ |
2607 | 30 test68.out test69.out test71.out test72.out test73.out \ |
2904 | 31 test74.out test75.out test76.out test77.out test78.out \ |
3443 | 32 test79.out test80.out test81.out test82.out test83.out \ |
4113 | 33 test84.out test85.out test86.out test87.out test88.out \ |
4274 | 34 test89.out test90.out test91.out test92.out test93.out \ |
5450 | 35 test94.out test95.out test96.out test98.out test99.out \ |
5690 | 36 test100.out test101.out test102.out test103.out test104.out \ |
5948 | 37 test105.out test106.out test107.out\ |
6522 | 38 test_argument_0count.out \ |
6398 | 39 test_argument_count.out \ |
6935 | 40 test_autocmd_option.out \ |
5848 | 41 test_autoformat_join.out \ |
5995 | 42 test_breakindent.out \ |
6096 | 43 test_changelist.out \ |
6398 | 44 test_close_count.out \ |
6424 | 45 test_command_count.out \ |
6712 | 46 test_erasebackword.out \ |
5796 | 47 test_eval.out \ |
6933 | 48 test_fixeol.out \ |
6868 | 49 test_increment.out \ |
6098 | 50 test_insertcount.out \ |
6777 | 51 test_listchars.out \ |
6140 | 52 test_listlbr.out \ |
53 test_listlbr_utf8.out \ | |
6299 | 54 test_mapping.out \ |
6616 | 55 test_marks.out \ |
6947 | 56 test_match_conceal.out \ |
6438 | 57 test_nested_function.out \ |
6140 | 58 test_options.out \ |
6847 | 59 test_perl.out \ |
6140 | 60 test_qf_title.out \ |
6847 | 61 test_ruby.out \ |
6903 | 62 test_search_mbyte.out \ |
6841 | 63 test_set.out \ |
6307 | 64 test_signs.out \ |
6675 | 65 test_textobjects.out \ |
6140 | 66 test_utf8.out |
7 | 67 |
2050
afcf9db31561
updated for version 7.2.336
Bram Moolenaar <bram@zimbu.org>
parents:
2005
diff
changeset
|
68 SCRIPTS32 = test50.out test70.out |
7 | 69 |
6643 | 70 SCRIPTS_GUI = test16.out |
71 | |
72 TEST_OUTFILES = $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS32) $(SCRIPTS_GUI) | |
73 DOSTMP = dostmp | |
74 DOSTMP_OUTFILES = $(TEST_OUTFILES:test=dostmp\test) | |
75 DOSTMP_INFILES = $(DOSTMP_OUTFILES:.out=.in) | |
7 | 76 |
77 .SUFFIXES: .in .out | |
78 | |
6643 | 79 nongui: nolog $(SCRIPTS16) $(SCRIPTS) report |
80 | |
81 small: nolog report | |
82 | |
83 gui: nolog $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS_GUI) report | |
7 | 84 |
6643 | 85 win32: nolog $(SCRIPTS16) $(SCRIPTS) $(SCRIPTS32) report |
7 | 86 |
6643 | 87 # Copy the input files to dostmp, changing the fileformat to dos. |
88 $(DOSTMP_INFILES): $(*B).in | |
89 if not exist $(DOSTMP)\NUL md $(DOSTMP) | |
90 if exist $@ del $@ | |
91 $(VIMPROG) -u dos.vim --noplugin "+set ff=dos|f $@|wq" $(*B).in | |
7 | 92 |
6643 | 93 # For each input file dostmp/test99.in run the tests. |
94 # This moves test99.in to test99.in.bak temporarily. | |
95 $(TEST_OUTFILES): $(DOSTMP)\$(*B).in | |
96 -@if exist test.out DEL test.out | |
97 move $(*B).in $(*B).in.bak | |
98 copy $(DOSTMP)\$(*B).in $(*B).in | |
99 copy $(*B).ok test.ok | |
100 $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $(*B).in | |
101 -@if exist test.out MOVE /y test.out $(DOSTMP)\$(*B).out | |
102 -@if exist $(*B).in.bak move /y $(*B).in.bak $(*B).in | |
103 -@del X* | |
104 -@if exist test.ok del test.ok | |
105 -@if exist Xdir1 rd /s /q Xdir1 | |
106 -@if exist Xfind rd /s /q Xfind | |
107 -@if exist viminfo del viminfo | |
108 $(VIMPROG) -u dos.vim --noplugin "+set ff=unix|f test.out|wq" \ | |
109 $(DOSTMP)\$(*B).out | |
110 @diff test.out $*.ok & if errorlevel 1 \ | |
111 ( move /y test.out $*.failed \ | |
112 & del $(DOSTMP)\$(*B).out \ | |
113 & echo $* FAILED >> test.log ) \ | |
114 else ( move /y test.out $*.out ) | |
49 | 115 |
4934
81e623ff2e55
updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents:
4817
diff
changeset
|
116 report: |
81e623ff2e55
updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents:
4817
diff
changeset
|
117 @echo "" |
81e623ff2e55
updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents:
4817
diff
changeset
|
118 @echo Test results: |
6643 | 119 @if exist test.log ( type test.log & echo TEST FAILURE & exit /b 1 ) \ |
120 else ( echo ALL DONE ) | |
4934
81e623ff2e55
updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents:
4817
diff
changeset
|
121 |
7 | 122 clean: |
123 -del *.out | |
4946
d10ede931224
updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents:
4934
diff
changeset
|
124 -del *.failed |
6643 | 125 -if exist $(DOSTMP) rd /s /q $(DOSTMP) |
126 -if exist test.in del test.in | |
1358 | 127 -if exist test.ok del test.ok |
128 -if exist small.vim del small.vim | |
129 -if exist tiny.vim del tiny.vim | |
130 -if exist mbyte.vim del mbyte.vim | |
2101
8ae4de2d02af
updated for version 7.2.384
Bram Moolenaar <bram@zimbu.org>
parents:
2050
diff
changeset
|
131 -if exist mzscheme.vim del mzscheme.vim |
3855 | 132 -if exist lua.vim del lua.vim |
7 | 133 -del X* |
4946
d10ede931224
updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents:
4934
diff
changeset
|
134 -if exist Xdir1 rd /s /q Xdir1 |
d10ede931224
updated for version 7.3.1218
Bram Moolenaar <bram@vim.org>
parents:
4934
diff
changeset
|
135 -if exist Xfind rd /s /q Xfind |
1358 | 136 -if exist viminfo del viminfo |
6643 | 137 -if exist test.log del test.log |
6330 | 138 -if exist benchmark.out del benchmark.out |
7 | 139 |
4934
81e623ff2e55
updated for version 7.3.1212
Bram Moolenaar <bram@vim.org>
parents:
4817
diff
changeset
|
140 nolog: |
6643 | 141 -if exist test.log del test.log |
6328 | 142 |
143 benchmark: | |
144 bench_re_freeze.out | |
145 | |
146 bench_re_freeze.out: bench_re_freeze.vim | |
147 -if exist benchmark.out del benchmark.out | |
148 $(VIMPROG) -u dos.vim -U NONE --noplugin $*.in | |
149 @IF EXIST benchmark.out ( type benchmark.out ) |