annotate src/testdir/Make_ming.mak @ 21532:dc1c26547a42 v8.2.1316

patch 8.2.1316: test 42 is still old style Commit: https://github.com/vim/vim/commit/b61ef01cce2afd70fbfa2805336a26643109dfb7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 29 16:08:21 2020 +0200 patch 8.2.1316: test 42 is still old style Problem: Test 42 is still old style. Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6561)
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 Jul 2020 16:15:03 +0200
parents 16460964c304
children baccf9e06efe
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
81dc9e30aad6 commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents: 7350
diff changeset
31 SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE4) $(SCRIPTS_WIN32)
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
32
20120
16460964c304 patch 8.2.0615: regexp benchmark stest is old style
Bram Moolenaar <Bram@vim.org>
parents: 18066
diff changeset
33 SCRIPTS_BENCH = test_bench_regexp.res
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
34
7356
f0eb9aa9eb32 commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents: 7354
diff changeset
35 # 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
36 $(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
37
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
38 .SUFFIXES: .in .out .res .vim
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
39
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
40 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
41 @echo ALL DONE
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
42
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
43 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
44 @echo ALL DONE
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
45
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
46 benchmark: $(SCRIPTS_BENCH)
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
47
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
48 small: nolog
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
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
51 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
52 @echo ALL DONE
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
53
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
54 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
55 @echo ALL DONE
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
56
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
57 # TODO: find a way to avoid changing the distributed files.
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
58 fixff:
10944
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
59 -$(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
60 -$(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
61 dotest.in
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
62
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
63 clean:
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
64 -@if exist *.out $(DEL) *.out
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
65 -@if exist *.failed $(DEL) *.failed
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
66 -@if exist *.res $(DEL) *.res
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
67 -@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
68 -@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
69 -@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
70 -@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
71 -@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
72 -@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
73 -@if exist Xdir1 $(DELDIR) Xdir1
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
74 -@if exist Xfind $(DELDIR) Xfind
11858
042e634bb8d9 patch 8.0.0809: MS-Windows: tests hang
Christian Brabandt <cb@256bit.org>
parents: 11651
diff changeset
75 -@if exist XfakeHOME $(DELDIR) XfakeHOME
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
76 -@if exist X* $(DEL) X*
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
77 -@if exist viminfo $(DEL) viminfo
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
78 -@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
79 -@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
80 -@if exist opt_test.vim $(DEL) opt_test.vim
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
81
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
82 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
83 -@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
84 $(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
85 -@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
86 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
87 )
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 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
89 -@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
90
1724
680834cb19eb updated for version 7.2-022
vimboss
parents:
diff changeset
91 .in.out:
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
92 -@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
93 $(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
94 @diff test.out $*.ok
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
95 -@if exist $*.out $(DEL) $*.out
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
96 @$(MV) test.out $*.out
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
97 -@if exist Xdir1 $(DELDIR) Xdir1
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
98 -@if exist Xfind $(DELDIR) Xfind
11858
042e634bb8d9 patch 8.0.0809: MS-Windows: tests hang
Christian Brabandt <cb@256bit.org>
parents: 11651
diff changeset
99 -@if exist XfakeHOME $(DELDIR) XfakeHOME
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
100 -@if exist X* $(DEL) X*
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
101 -@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
102 -@if exist viminfo $(DEL) viminfo
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
103
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
104 nolog:
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
105 -@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
106 -@if exist messages $(DEL) messages
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
107
20120
16460964c304 patch 8.2.0615: regexp benchmark stest is old style
Bram Moolenaar <Bram@vim.org>
parents: 18066
diff changeset
108 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
109 -$(DEL) benchmark.out
20120
16460964c304 patch 8.2.0615: regexp benchmark stest is old style
Bram Moolenaar <Bram@vim.org>
parents: 18066
diff changeset
110 @echo $(VIMPROG) > vimcmd
16460964c304 patch 8.2.0615: regexp benchmark stest is old style
Bram Moolenaar <Bram@vim.org>
parents: 18066
diff changeset
111 $(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
112 @$(DEL) vimcmd
6328
adfbffe1e642 updated for version 7.4.497
Bram Moolenaar <bram@vim.org>
parents: 6307
diff changeset
113 $(CAT) benchmark.out
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
114
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
115 # 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
116 # 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
117 # 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
118
15430
d94901eeb762 patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents: 14339
diff changeset
119 newtests: $(NEW_TESTS_RES)
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
120
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
121 .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
122 @echo $(VIMPROG) > vimcmd
10944
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
123 $(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
124 @$(DEL) vimcmd
9303
1cc29584ef6d commit https://github.com/vim/vim/commit/9bd31860521b53ad657c4d6d320d670e30a049f8
Christian Brabandt <cb@256bit.org>
parents: 8821
diff changeset
125
10944
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
126 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
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 $<
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
129 @$(DEL) vimcmd
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
130
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
131 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
132 @echo $(VIMPROG) > vimcmd
11138
003e7ade488f patch 8.0.0456: typo in MinGW test makefile
Christian Brabandt <cb@256bit.org>
parents: 11119
diff changeset
133 $(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
134 @$(DEL) vimcmd
4e2cdce4576c patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents: 10351
diff changeset
135
15432
b10ce9e77128 patch 8.1.0724: build for MinGW fails
Bram Moolenaar <Bram@vim.org>
parents: 15430
diff changeset
136 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
137
18066
8e10cabcde8a patch 8.1.2028: options test script does not work
Bram Moolenaar <Bram@vim.org>
parents: 15587
diff changeset
138 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
139 $(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../optiondefs.h