Mercurial > vim
annotate src/testdir/Make_ming.mak @ 8196:cbb2f84da063 v7.4.1391
commit https://github.com/vim/vim/commit/4db20ab091330e460f08651d6052afd0536c507a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 22 21:48:30 2016 +0100
patch 7.4.1391
Problem: Warning for uninitialzed variable.
Solution: Set it to zero. (Christian Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 22 Feb 2016 22:00:04 +0100 |
parents | 1529ae1c456a |
children | 1b6a589a0efc |
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 | 3 # with sh.exe or zsh.exe in the path or not. |
4 # | |
5 # Author: Bill McCarthy | |
6 # | |
7 # Note that test54 has been removed until it is fixed. | |
8 # | |
9 # Requires a set of Unix tools: echo, diff, etc. | |
10 | |
11 ifneq (sh.exe, $(SHELL)) | |
12 DEL = rm -f | |
7445
e81526d6709f
commit https://github.com/vim/vim/commit/acf92d27c94811e3bd6b84cfd54246e91d44c355
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
13 DELDIR = rm -rf |
1724 | 14 MV = mv |
15 CP = cp | |
6328 | 16 CAT = cat |
1724 | 17 DIRSLASH = / |
18 else | |
19 DEL = del | |
7445
e81526d6709f
commit https://github.com/vim/vim/commit/acf92d27c94811e3bd6b84cfd54246e91d44c355
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
20 DELDIR = rd /s /q |
1724 | 21 MV = rename |
22 CP = copy | |
6328 | 23 CAT = type |
1724 | 24 DIRSLASH = \\ |
25 endif | |
26 | |
27 VIMPROG = ..$(DIRSLASH)vim | |
28 | |
7366
eec1dc8ca160
commit https://github.com/vim/vim/commit/40bbceee2213a6fa8fdc1d3f3920d61fb5370803
Christian Brabandt <cb@256bit.org>
parents:
7356
diff
changeset
|
29 default: vimall |
eec1dc8ca160
commit https://github.com/vim/vim/commit/40bbceee2213a6fa8fdc1d3f3920d61fb5370803
Christian Brabandt <cb@256bit.org>
parents:
7356
diff
changeset
|
30 |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
31 include Make_all.mak |
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
32 |
1724 | 33 # Omitted: |
34 # test2 "\\tmp" doesn't work. | |
35 # test10 'errorformat' is different | |
36 # test12 can't unlink a swap file | |
37 # test25 uses symbolic link | |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
38 # test54 doesn't work yet |
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
39 # test97 \{ and \$ are not escaped characters |
1724 | 40 |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
41 SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE4) $(SCRIPTS_WIN32) |
1724 | 42 |
6328 | 43 SCRIPTS_BENCH = bench_re_freeze.out |
44 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
45 # Must run test1 first to create small.vim. |
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
46 $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS): $(SCRIPTS_FIRST) |
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
47 |
1724 | 48 .SUFFIXES: .in .out |
49 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
50 vimall: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) |
1724 | 51 echo ALL DONE |
52 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
53 nongui: fixff $(SCRIPTS_FIRST) $(SCRIPTS) |
1724 | 54 echo ALL DONE |
55 | |
6328 | 56 benchmark: $(SCRIPTS_BENCH) |
57 | |
1724 | 58 small: |
59 echo ALL DONE | |
60 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
61 gui: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) |
1724 | 62 echo ALL DONE |
63 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
64 win32: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) |
1724 | 65 echo ALL DONE |
66 | |
67 fixff: | |
7645
1529ae1c456a
commit https://github.com/vim/vim/commit/42c9cfa7f4d2f176234e385573ff2fb1f61915e5
Christian Brabandt <cb@256bit.org>
parents:
7623
diff
changeset
|
68 -$(VIMPROG) -u dos.vim -U NONE --noplugin "+argdo set ff=dos|upd" +q *.in *.ok |
1529ae1c456a
commit https://github.com/vim/vim/commit/42c9cfa7f4d2f176234e385573ff2fb1f61915e5
Christian Brabandt <cb@256bit.org>
parents:
7623
diff
changeset
|
69 -$(VIMPROG) -u dos.vim -U NONE --noplugin "+argdo set ff=unix|upd" +q \ |
7283
631cd8059bf4
commit https://github.com/vim/vim/commit/5311c02f25eed8f34e8a80becb98e86264f371c3
Christian Brabandt <cb@256bit.org>
parents:
7275
diff
changeset
|
70 dotest.in test60.ok test71.ok test74.ok test_listchars.ok |
1724 | 71 |
72 clean: | |
73 -$(DEL) *.out | |
74 -$(DEL) test.ok | |
75 -$(DEL) small.vim | |
76 -$(DEL) tiny.vim | |
77 -$(DEL) mbyte.vim | |
2050
afcf9db31561
updated for version 7.2.336
Bram Moolenaar <bram@zimbu.org>
parents:
2005
diff
changeset
|
78 -$(DEL) mzscheme.vim |
3855 | 79 -$(DEL) lua.vim |
7445
e81526d6709f
commit https://github.com/vim/vim/commit/acf92d27c94811e3bd6b84cfd54246e91d44c355
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
80 -$(DELDIR) Xdir1 |
e81526d6709f
commit https://github.com/vim/vim/commit/acf92d27c94811e3bd6b84cfd54246e91d44c355
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
81 -$(DELDIR) Xfind |
1724 | 82 -$(DEL) X* |
83 -$(DEL) viminfo | |
84 | |
85 .in.out: | |
86 $(CP) $*.ok test.ok | |
87 $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in | |
88 diff test.out $*.ok | |
89 -$(DEL) $*.out | |
90 $(MV) test.out $*.out | |
7445
e81526d6709f
commit https://github.com/vim/vim/commit/acf92d27c94811e3bd6b84cfd54246e91d44c355
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
91 -$(DELDIR) Xdir1 |
e81526d6709f
commit https://github.com/vim/vim/commit/acf92d27c94811e3bd6b84cfd54246e91d44c355
Christian Brabandt <cb@256bit.org>
parents:
7366
diff
changeset
|
92 -$(DELDIR) Xfind |
1724 | 93 -$(DEL) X* |
94 -$(DEL) test.ok | |
95 -$(DEL) viminfo | |
6328 | 96 |
97 bench_re_freeze.out: bench_re_freeze.vim | |
98 -$(DEL) benchmark.out | |
99 $(VIMPROG) -u dos.vim -U NONE --noplugin $*.in | |
100 $(CAT) benchmark.out |