Mercurial > vim
annotate src/testdir/Make_dos.mak @ 23733:0660cb0a1cd8 v8.2.2408
patch 8.2.2408: MinGW: "--preprocessor" flag no longer supported
Commit: https://github.com/vim/vim/commit/5c829bf229de463657e4ba1de6c4ee91899de14e
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 25 19:18:02 2021 +0100
patch 8.2.2408: MinGW: "--preprocessor" flag no longer supported
Problem: MinGW: "--preprocessor" flag no longer supported.
Solution: Remove the flag, use the defaults. (Christopher Wellons,
closes #7741)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 25 Jan 2021 19:30:04 +0100 |
parents | 3ece5c9fe811 |
children | d8a962d7b008 |
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 | |
7366
eec1dc8ca160
commit https://github.com/vim/vim/commit/40bbceee2213a6fa8fdc1d3f3920d61fb5370803
Christian Brabandt <cb@256bit.org>
parents:
7362
diff
changeset
|
8 default: nongui |
eec1dc8ca160
commit https://github.com/vim/vim/commit/40bbceee2213a6fa8fdc1d3f3920d61fb5370803
Christian Brabandt <cb@256bit.org>
parents:
7362
diff
changeset
|
9 |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
10 !include Make_all.mak |
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
11 |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
12 # Explicit dependencies. |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
13 test_options.res test_alot.res: opt_test.vim |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
14 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
15 TEST_OUTFILES = $(SCRIPTS_TINY_OUT) |
6643 | 16 DOSTMP = dostmp |
17 DOSTMP_OUTFILES = $(TEST_OUTFILES:test=dostmp\test) | |
18 DOSTMP_INFILES = $(DOSTMP_OUTFILES:.out=.in) | |
7 | 19 |
7378
a6c23c3c5880
commit https://github.com/vim/vim/commit/4e5a31c8b3e259605f4d8543aaae68578cf9b0d7
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
20 .SUFFIXES: .in .out .res .vim |
7 | 21 |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
22 nongui: nolog tinytests newtests report |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
23 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
24 gui: nolog tinytests newtests report |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
25 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
26 tiny: nolog tinytests report |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
27 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
28 benchmark: $(SCRIPTS_BENCH) |
6643 | 29 |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
30 report: |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
31 @rem without the +eval feature test_result.log is a copy of test.log |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
32 @if exist test.log ( copy /y test.log test_result.log > nul ) \ |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
33 else ( echo No failures reported > test_result.log ) |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
34 $(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
35 @echo. |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
36 @echo Test results: |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
37 @cmd /c type test_result.log |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
38 @if exist test.log ( echo TEST FAILURE & exit /b 1 ) \ |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
39 else ( echo ALL DONE ) |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
40 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
41 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
42 # Execute an individual new style test, e.g.: |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
43 # nmake -f Make_dos.mak test_largefile |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
44 $(NEW_TESTS): |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
45 -if exist $@.res del $@.res |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
46 -if exist test.log del test.log |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
47 -if exist messages del messages |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
48 @$(MAKE) -nologo -f Make_dos.mak $@.res VIMPROG=$(VIMPROG) |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
49 @type messages |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
50 @if exist test.log exit 1 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
51 |
6643 | 52 |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
53 # Delete files that may interfere with running tests. This includes some files |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
54 # that may result from working on the tests, not only from running them. |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
55 clean: |
21813
422387068c44
patch 8.2.1456: MS-Windows: test files are not deleted
Bram Moolenaar <Bram@vim.org>
parents:
21799
diff
changeset
|
56 -if exist *.out del *.out |
422387068c44
patch 8.2.1456: MS-Windows: test files are not deleted
Bram Moolenaar <Bram@vim.org>
parents:
21799
diff
changeset
|
57 -if exist *.failed del *.failed |
422387068c44
patch 8.2.1456: MS-Windows: test files are not deleted
Bram Moolenaar <Bram@vim.org>
parents:
21799
diff
changeset
|
58 -if exist *.res del *.res |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
59 -if exist $(DOSTMP) rd /s /q $(DOSTMP) |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
60 -if exist test.in del test.in |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
61 -if exist test.ok del test.ok |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
62 -if exist Xdir1 rd /s /q Xdir1 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
63 -if exist Xfind rd /s /q Xfind |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
64 -if exist XfakeHOME rd /s /q XfakeHOME |
21813
422387068c44
patch 8.2.1456: MS-Windows: test files are not deleted
Bram Moolenaar <Bram@vim.org>
parents:
21799
diff
changeset
|
65 -if exist X* del X* |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
66 -for /d %i in (X*) do @rd /s/q %i |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
67 -if exist viminfo del viminfo |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
68 -if exist test.log del test.log |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
69 -if exist test_result.log del test_result.log |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
70 -if exist messages del messages |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
71 -if exist benchmark.out del benchmark.out |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
72 -if exist opt_test.vim del opt_test.vim |
7 | 73 |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
74 nolog: |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
75 -if exist test.log del test.log |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
76 -if exist test_result.log del test_result.log |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
77 -if exist messages del messages |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
78 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
79 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
80 # Tiny tests. Works even without the +eval feature. |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
81 tinytests: $(SCRIPTS_TINY_OUT) |
7 | 82 |
6643 | 83 # Copy the input files to dostmp, changing the fileformat to dos. |
84 $(DOSTMP_INFILES): $(*B).in | |
85 if not exist $(DOSTMP)\NUL md $(DOSTMP) | |
86 if exist $@ del $@ | |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10510
diff
changeset
|
87 $(VIMPROG) -u dos.vim $(NO_INITS) "+set ff=dos|f $@|wq" $(*B).in |
7 | 88 |
6643 | 89 # For each input file dostmp/test99.in run the tests. |
90 # This moves test99.in to test99.in.bak temporarily. | |
91 $(TEST_OUTFILES): $(DOSTMP)\$(*B).in | |
92 -@if exist test.out DEL test.out | |
11150
9f9409588102
patch 8.0.0462: failure of an MS-Windows test may go unnoticed
Christian Brabandt <cb@256bit.org>
parents:
11119
diff
changeset
|
93 -@if exist $(DOSTMP)\$(*B).out DEL $(DOSTMP)\$(*B).out |
10510
dfbe8f74806d
commit https://github.com/vim/vim/commit/29891c4ed4a7d08af1ba1628933a387adf5c1555
Christian Brabandt <cb@256bit.org>
parents:
9786
diff
changeset
|
94 move $(*B).in $(*B).in.bak > nul |
dfbe8f74806d
commit https://github.com/vim/vim/commit/29891c4ed4a7d08af1ba1628933a387adf5c1555
Christian Brabandt <cb@256bit.org>
parents:
9786
diff
changeset
|
95 copy $(DOSTMP)\$(*B).in $(*B).in > nul |
dfbe8f74806d
commit https://github.com/vim/vim/commit/29891c4ed4a7d08af1ba1628933a387adf5c1555
Christian Brabandt <cb@256bit.org>
parents:
9786
diff
changeset
|
96 copy $(*B).ok test.ok > nul |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10510
diff
changeset
|
97 $(VIMPROG) -u dos.vim $(NO_INITS) -s dotest.in $(*B).in |
10510
dfbe8f74806d
commit https://github.com/vim/vim/commit/29891c4ed4a7d08af1ba1628933a387adf5c1555
Christian Brabandt <cb@256bit.org>
parents:
9786
diff
changeset
|
98 -@if exist test.out MOVE /y test.out $(DOSTMP)\$(*B).out > nul |
dfbe8f74806d
commit https://github.com/vim/vim/commit/29891c4ed4a7d08af1ba1628933a387adf5c1555
Christian Brabandt <cb@256bit.org>
parents:
9786
diff
changeset
|
99 -@if exist $(*B).in.bak move /y $(*B).in.bak $(*B).in > nul |
6643 | 100 -@if exist test.ok del test.ok |
101 -@if exist Xdir1 rd /s /q Xdir1 | |
102 -@if exist Xfind rd /s /q Xfind | |
11858
042e634bb8d9
patch 8.0.0809: MS-Windows: tests hang
Christian Brabandt <cb@256bit.org>
parents:
11150
diff
changeset
|
103 -@if exist XfakeHOME rd /s /q XfakeHOME |
7445
e81526d6709f
commit https://github.com/vim/vim/commit/acf92d27c94811e3bd6b84cfd54246e91d44c355
Christian Brabandt <cb@256bit.org>
parents:
7395
diff
changeset
|
104 -@del X* |
6643 | 105 -@if exist viminfo del viminfo |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10510
diff
changeset
|
106 $(VIMPROG) -u dos.vim $(NO_INITS) "+set ff=unix|f test.out|wq" \ |
6643 | 107 $(DOSTMP)\$(*B).out |
108 @diff test.out $*.ok & if errorlevel 1 \ | |
10510
dfbe8f74806d
commit https://github.com/vim/vim/commit/29891c4ed4a7d08af1ba1628933a387adf5c1555
Christian Brabandt <cb@256bit.org>
parents:
9786
diff
changeset
|
109 ( move /y test.out $*.failed > nul \ |
6643 | 110 & del $(DOSTMP)\$(*B).out \ |
111 & echo $* FAILED >> test.log ) \ | |
10510
dfbe8f74806d
commit https://github.com/vim/vim/commit/29891c4ed4a7d08af1ba1628933a387adf5c1555
Christian Brabandt <cb@256bit.org>
parents:
9786
diff
changeset
|
112 else ( move /y test.out $*.out > nul ) |
49 | 113 |
7378
a6c23c3c5880
commit https://github.com/vim/vim/commit/4e5a31c8b3e259605f4d8543aaae68578cf9b0d7
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
114 |
a6c23c3c5880
commit https://github.com/vim/vim/commit/4e5a31c8b3e259605f4d8543aaae68578cf9b0d7
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
115 # New style of tests uses Vim script with assert calls. These are easier |
a6c23c3c5880
commit https://github.com/vim/vim/commit/4e5a31c8b3e259605f4d8543aaae68578cf9b0d7
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
116 # to write and a lot easier to read and debug. |
a6c23c3c5880
commit https://github.com/vim/vim/commit/4e5a31c8b3e259605f4d8543aaae68578cf9b0d7
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
117 # Limitation: Only works with the +eval feature. |
a6c23c3c5880
commit https://github.com/vim/vim/commit/4e5a31c8b3e259605f4d8543aaae68578cf9b0d7
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
118 |
14802
9b04068f7265
patch 8.1.0413: test output is duplicated or missing
Christian Brabandt <cb@256bit.org>
parents:
14339
diff
changeset
|
119 newtests: newtestssilent |
21951
3ece5c9fe811
patch 8.2.1525: messages from tests were not always displayed
Bram Moolenaar <Bram@vim.org>
parents:
21813
diff
changeset
|
120 @if exist messages type messages |
14802
9b04068f7265
patch 8.1.0413: test output is duplicated or missing
Christian Brabandt <cb@256bit.org>
parents:
14339
diff
changeset
|
121 |
15430
d94901eeb762
patch 8.1.0723: cannot easily run specific test when in src/testdir
Bram Moolenaar <Bram@vim.org>
parents:
14802
diff
changeset
|
122 newtestssilent: $(NEW_TESTS_RES) |
7378
a6c23c3c5880
commit https://github.com/vim/vim/commit/4e5a31c8b3e259605f4d8543aaae68578cf9b0d7
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
123 |
a6c23c3c5880
commit https://github.com/vim/vim/commit/4e5a31c8b3e259605f4d8543aaae68578cf9b0d7
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
124 .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
|
125 @echo $(VIMPROG) > vimcmd |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10510
diff
changeset
|
126 $(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:
8263
diff
changeset
|
127 @del vimcmd |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10510
diff
changeset
|
128 |
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10510
diff
changeset
|
129 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
|
130 @echo $(VIMPROG) > vimcmd |
10946
0fbba847496d
patch 8.0.0362: tests fail on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
10944
diff
changeset
|
131 $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10510
diff
changeset
|
132 @del vimcmd |
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10510
diff
changeset
|
133 |
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10510
diff
changeset
|
134 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
|
135 @echo $(VIMPROG) > vimcmd |
11119
d8a550329a97
patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
11083
diff
changeset
|
136 $(VIMPROG) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $*.vim |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
10510
diff
changeset
|
137 @del vimcmd |
11079
50459aeb4773
patch 8.0.0428: git and hg see new files after running tests
Christian Brabandt <cb@256bit.org>
parents:
10946
diff
changeset
|
138 |
18066
8e10cabcde8a
patch 8.1.2028: options test script does not work
Bram Moolenaar <Bram@vim.org>
parents:
15432
diff
changeset
|
139 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:
15432
diff
changeset
|
140 $(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../optiondefs.h |
21779
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
141 |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
142 test_bench_regexp.res: test_bench_regexp.vim |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
143 -if exist benchmark.out del benchmark.out |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
144 @echo $(VIMPROG) > vimcmd |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
145 $(VIMPROG) -u NONE $(NO_INITS) -S runtest.vim $*.vim |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
146 @del vimcmd |
30bdd2e4a6f9
patch 8.2.1439: tiny and small builds have no test coverage
Bram Moolenaar <Bram@vim.org>
parents:
21741
diff
changeset
|
147 @IF EXIST benchmark.out ( type benchmark.out ) |