annotate src/testdir/Make_ming.mak @ 20689:b005de48b374 v8.2.0898

patch 8.2.0898: missing help for a function goes unnoticed Commit: https://github.com/vim/vim/commit/6b0e528368415476bfc3a8414c9c70f9852b1517 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 4 15:52:25 2020 +0200 patch 8.2.0898: missing help for a function goes unnoticed Problem: Missing help for a function goes unnoticed. Solution: Add a test. (Gary Johnson)
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Jun 2020 16:00:04 +0200
parents 16460964c304
children dc1c26547a42
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2440
fc695854c33a Correct comments in testdir makefiles. (John Beckett)
Bram Moolenaar <bram@vim.org>
parents: 2232
diff changeset
1 #
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
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
3 # with sh.exe or zsh.exe in the path or not.
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
4 #
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
5 # Author: Bill McCarthy
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
6 #
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
7 # Requires a set of Unix tools: echo, diff, etc.
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
8
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
9 ifneq (sh.exe, $(SHELL))
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
10 DEL = rm -f
7445
e81526d6709f commit https://github.com/vim/vim/commit/acf92d27c94811e3bd6b84cfd54246e91d44c355
Christian Brabandt <cb@256bit.org>
parents: 7366
diff changeset
11 DELDIR = rm -rf
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
12 MV = mv
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
13 CP = cp
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
14 CAT = cat
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
15 DIRSLASH = /
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
16 else
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
17 DEL = del
7445
e81526d6709f commit https://github.com/vim/vim/commit/acf92d27c94811e3bd6b84cfd54246e91d44c355
Christian Brabandt <cb@256bit.org>
parents: 7366
diff changeset
18 DELDIR = rd /s /q
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
19 MV = rename
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
20 CP = copy
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
21 CAT = type
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
22 DIRSLASH = \\
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
23 endif
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
24
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
25 VIMPROG = ..$(DIRSLASH)vim
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
26
7366
eec1dc8ca160 commit https://github.com/vim/vim/commit/40bbceee2213a6fa8fdc1d3f3920d61fb5370803
Christian Brabandt <cb@256bit.org>
parents: 7356
diff changeset
27 default: vimall
eec1dc8ca160 commit https://github.com/vim/vim/commit/40bbceee2213a6fa8fdc1d3f3920d61fb5370803
Christian Brabandt <cb@256bit.org>
parents: 7356
diff changeset
28
7354
81dc9e30aad6 commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents: 7350
diff changeset
29 include Make_all.mak
81dc9e30aad6 commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents: 7350
diff changeset
30
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
31 # Omitted:
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
32 # test2 "\\tmp" doesn't work.
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
33 # test10 'errorformat' is different
7354
81dc9e30aad6 commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents: 7350
diff changeset
34 # test97 \{ and \$ are not escaped characters
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
35
7354
81dc9e30aad6 commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents: 7350
diff changeset
36 SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE4) $(SCRIPTS_WIN32)
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
37
20120
16460964c304 patch 8.2.0615: regexp benchmark stest is old style
Bram Moolenaar <Bram@vim.org>
parents: 18066
diff changeset
38 SCRIPTS_BENCH = test_bench_regexp.res
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
39
7356
f0eb9aa9eb32 commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents: 7354
diff changeset
40 # Must run test1 first to create small.vim.
15430
d94901eeb762 patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents: 14339
diff changeset
41 $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS_RES): $(SCRIPTS_FIRST)
7356
f0eb9aa9eb32 commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents: 7354
diff changeset
42
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
43 .SUFFIXES: .in .out .res .vim
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
44
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
45 vimall: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) newtests
9786
3089f1d99b9e commit https://github.com/vim/vim/commit/5b4a3767f6d1760ba1ce103ef3cffb696ece0244
Christian Brabandt <cb@256bit.org>
parents: 9303
diff changeset
46 @echo ALL DONE
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
47
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
48 nongui: fixff nolog $(SCRIPTS_FIRST) $(SCRIPTS) newtests
9786
3089f1d99b9e commit https://github.com/vim/vim/commit/5b4a3767f6d1760ba1ce103ef3cffb696ece0244
Christian Brabandt <cb@256bit.org>
parents: 9303
diff changeset
49 @echo ALL DONE
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
50
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
51 benchmark: $(SCRIPTS_BENCH)
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
52
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
53 small: nolog
9786
3089f1d99b9e commit https://github.com/vim/vim/commit/5b4a3767f6d1760ba1ce103ef3cffb696ece0244
Christian Brabandt <cb@256bit.org>
parents: 9303
diff changeset
54 @echo ALL DONE
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
55
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
56 gui: fixff nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) newtests
9786
3089f1d99b9e commit https://github.com/vim/vim/commit/5b4a3767f6d1760ba1ce103ef3cffb696ece0244
Christian Brabandt <cb@256bit.org>
parents: 9303
diff changeset
57 @echo ALL DONE
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
58
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
59 win32: fixff nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) newtests
9786
3089f1d99b9e commit https://github.com/vim/vim/commit/5b4a3767f6d1760ba1ce103ef3cffb696ece0244
Christian Brabandt <cb@256bit.org>
parents: 9303
diff changeset
60 @echo ALL DONE
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
61
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
62 # TODO: find a way to avoid changing the distributed files.
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
63 fixff:
10944
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
64 -$(VIMPROG) -u dos.vim $(NO_INITS) "+argdo set ff=dos|upd" +q *.in *.ok
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
65 -$(VIMPROG) -u dos.vim $(NO_INITS) "+argdo set ff=unix|upd" +q \
13022
71109531c516 patch 8.0.1387: wordcount test is old style
Christian Brabandt <cb@256bit.org>
parents: 12851
diff changeset
66 dotest.in
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
67
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
68 clean:
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
69 -@if exist *.out $(DEL) *.out
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
70 -@if exist *.failed $(DEL) *.failed
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
71 -@if exist *.res $(DEL) *.res
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
72 -@if exist test.in $(DEL) test.in
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
73 -@if exist test.ok $(DEL) test.ok
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
74 -@if exist small.vim $(DEL) small.vim
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
75 -@if exist tiny.vim $(DEL) tiny.vim
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
76 -@if exist mbyte.vim $(DEL) mbyte.vim
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
77 -@if exist mzscheme.vim $(DEL) mzscheme.vim
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
78 -@if exist Xdir1 $(DELDIR) Xdir1
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
79 -@if exist Xfind $(DELDIR) Xfind
11858
042e634bb8d9 patch 8.0.0809: MS-Windows: tests hang
Christian Brabandt <cb@256bit.org>
parents: 11651
diff changeset
80 -@if exist XfakeHOME $(DELDIR) XfakeHOME
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
81 -@if exist X* $(DEL) X*
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
82 -@if exist viminfo $(DEL) viminfo
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
83 -@if exist test.log $(DEL) test.log
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
84 -@if exist messages $(DEL) messages
11079
50459aeb4773 patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents: 10944
diff changeset
85 -@if exist opt_test.vim $(DEL) opt_test.vim
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
86
15587
8ba0e158970d patch 8.1.0801: MinGW: no hint that tests fail because of small terminal
Bram Moolenaar <Bram@vim.org>
parents: 15432
diff changeset
87 test1.out: test1.in
8ba0e158970d patch 8.1.0801: MinGW: no hint that tests fail because of small terminal
Bram Moolenaar <Bram@vim.org>
parents: 15432
diff changeset
88 -@if exist wrongtermsize $(DEL) wrongtermsize
8ba0e158970d patch 8.1.0801: MinGW: no hint that tests fail because of small terminal
Bram Moolenaar <Bram@vim.org>
parents: 15432
diff changeset
89 $(VIMPROG) -u dos.vim $(NO_INITS) -s dotest.in test1.in
8ba0e158970d patch 8.1.0801: MinGW: no hint that tests fail because of small terminal
Bram Moolenaar <Bram@vim.org>
parents: 15432
diff changeset
90 -@if exist wrongtermsize ( \
8ba0e158970d patch 8.1.0801: MinGW: no hint that tests fail because of small terminal
Bram Moolenaar <Bram@vim.org>
parents: 15432
diff changeset
91 echo Vim window too small- must be 80x25 or larger && exit 1 \
8ba0e158970d patch 8.1.0801: MinGW: no hint that tests fail because of small terminal
Bram Moolenaar <Bram@vim.org>
parents: 15432
diff changeset
92 )
8ba0e158970d patch 8.1.0801: MinGW: no hint that tests fail because of small terminal
Bram Moolenaar <Bram@vim.org>
parents: 15432
diff changeset
93 -@if exist test.out $(DEL) test.out
8ba0e158970d patch 8.1.0801: MinGW: no hint that tests fail because of small terminal
Bram Moolenaar <Bram@vim.org>
parents: 15432
diff changeset
94 -@if exist viminfo $(DEL) viminfo
8ba0e158970d patch 8.1.0801: MinGW: no hint that tests fail because of small terminal
Bram Moolenaar <Bram@vim.org>
parents: 15432
diff changeset
95
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
96 .in.out:
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
97 -@if exist $*.ok $(CP) $*.ok test.ok
10944
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
98 $(VIMPROG) -u dos.vim $(NO_INITS) -s dotest.in $*.in
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
99 @diff test.out $*.ok
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
100 -@if exist $*.out $(DEL) $*.out
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
101 @$(MV) test.out $*.out
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
102 -@if exist Xdir1 $(DELDIR) Xdir1
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
103 -@if exist Xfind $(DELDIR) Xfind
11858
042e634bb8d9 patch 8.0.0809: MS-Windows: tests hang
Christian Brabandt <cb@256bit.org>
parents: 11651
diff changeset
104 -@if exist XfakeHOME $(DELDIR) XfakeHOME
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
105 -@if exist X* $(DEL) X*
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
106 -@if exist test.ok $(DEL) test.ok
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
107 -@if exist viminfo $(DEL) viminfo
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
108
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
109 nolog:
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
110 -@if exist test.log $(DEL) test.log
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
111 -@if exist messages $(DEL) messages
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
112
20120
16460964c304 patch 8.2.0615: regexp benchmark stest is old style
Bram Moolenaar <Bram@vim.org>
parents: 18066
diff changeset
113 test_bench_regexp.res: test_bench_regexp.vim
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
114 -$(DEL) benchmark.out
20120
16460964c304 patch 8.2.0615: regexp benchmark stest is old style
Bram Moolenaar <Bram@vim.org>
parents: 18066
diff changeset
115 @echo $(VIMPROG) > vimcmd
16460964c304 patch 8.2.0615: regexp benchmark stest is old style
Bram Moolenaar <Bram@vim.org>
parents: 18066
diff changeset
116 $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim
16460964c304 patch 8.2.0615: regexp benchmark stest is old style
Bram Moolenaar <Bram@vim.org>
parents: 18066
diff changeset
117 @$(DEL) vimcmd
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
118 $(CAT) benchmark.out
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
119
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
120 # New style of tests uses Vim script with assert calls. These are easier
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
121 # to write and a lot easier to read and debug.
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
122 # Limitation: Only works with the +eval feature.
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
123
15430
d94901eeb762 patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents: 14339
diff changeset
124 newtests: $(NEW_TESTS_RES)
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
125
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
126 .vim.res:
12606
4ecdfa7b4e62 patch 8.0.1181: tests using Vim command fail on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 11858
diff changeset
127 @echo $(VIMPROG) > vimcmd
10944
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
128 $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim
9786
3089f1d99b9e commit https://github.com/vim/vim/commit/5b4a3767f6d1760ba1ce103ef3cffb696ece0244
Christian Brabandt <cb@256bit.org>
parents: 9303
diff changeset
129 @$(DEL) vimcmd
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
130
10944
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
131 test_gui.res: test_gui.vim
12606
4ecdfa7b4e62 patch 8.0.1181: tests using Vim command fail on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 11858
diff changeset
132 @echo $(VIMPROG) > vimcmd
10944
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
133 $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $<
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
134 @$(DEL) vimcmd
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
135
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
136 test_gui_init.res: test_gui_init.vim
12606
4ecdfa7b4e62 patch 8.0.1181: tests using Vim command fail on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 11858
diff changeset
137 @echo $(VIMPROG) > vimcmd
11138
003e7ade488f patch 8.0.0456: typo in MinGW test makefile
Christian Brabandt <cb@256bit.org>
parents: 11119
diff changeset
138 $(VIMPROG) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $<
10944
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
139 @$(DEL) vimcmd
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
140
15432
b10ce9e77128 patch 8.1.0724: build for MinGW fails
Bram Moolenaar <Bram@vim.org>
parents: 15430
diff changeset
141 test_options.res test_alot.res: opt_test.vim
b10ce9e77128 patch 8.1.0724: build for MinGW fails
Bram Moolenaar <Bram@vim.org>
parents: 15430
diff changeset
142
18066
8e10cabcde8a patch 8.1.2028: options test script does not work
Bram Moolenaar <Bram@vim.org>
parents: 15587
diff changeset
143 opt_test.vim: ../optiondefs.h gen_opt_test.vim
8e10cabcde8a patch 8.1.2028: options test script does not work
Bram Moolenaar <Bram@vim.org>
parents: 15587
diff changeset
144 $(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../optiondefs.h