Mercurial > vim
annotate src/testdir/Make_ming.mak @ 7404:fb61ce5915fc v7.4.1006
commit https://github.com/vim/vim/commit/96c664af27ec9535f2c3cd9b889faad3e9460ad6
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 31 16:21:52 2015 +0100
patch 7.4.1006
Problem: The fix in patch 7.3.192 is not tested.
Solution: Add a test, one for each regexp engine. (Elias Diem)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 31 Dec 2015 16:30:04 +0100 |
parents | eec1dc8ca160 |
children | e81526d6709f |
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 | |
13 MV = mv | |
14 CP = cp | |
6328 | 15 CAT = cat |
1724 | 16 DIRSLASH = / |
17 else | |
18 DEL = del | |
19 MV = rename | |
20 CP = copy | |
6328 | 21 CAT = type |
1724 | 22 DIRSLASH = \\ |
23 endif | |
24 | |
25 VIMPROG = ..$(DIRSLASH)vim | |
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 | 31 # Omitted: |
32 # test2 "\\tmp" doesn't work. | |
33 # test10 'errorformat' is different | |
34 # test12 can't unlink a swap file | |
35 # test25 uses symbolic link | |
36 # test27 can't edit file with "*" in file name | |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
37 # test54 doesn't work yet |
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
38 # test97 \{ and \$ are not escaped characters |
1724 | 39 |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
40 SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE4) $(SCRIPTS_WIN32) |
1724 | 41 |
6328 | 42 SCRIPTS_BENCH = bench_re_freeze.out |
43 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
44 # 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
|
45 $(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
|
46 |
1724 | 47 .SUFFIXES: .in .out |
48 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
49 vimall: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) |
1724 | 50 echo ALL DONE |
51 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
52 nongui: fixff $(SCRIPTS_FIRST) $(SCRIPTS) |
1724 | 53 echo ALL DONE |
54 | |
6328 | 55 benchmark: $(SCRIPTS_BENCH) |
56 | |
1724 | 57 small: |
58 echo ALL DONE | |
59 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
60 gui: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) |
1724 | 61 echo ALL DONE |
62 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
63 win32: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) |
1724 | 64 echo ALL DONE |
65 | |
66 fixff: | |
67 -$(VIMPROG) -u dos.vim --noplugin "+argdo set ff=dos|upd" +q *.in *.ok | |
3463 | 68 -$(VIMPROG) -u dos.vim --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
|
69 dotest.in test60.ok test71.ok test74.ok test_listchars.ok |
1724 | 70 |
71 clean: | |
72 -$(DEL) *.out | |
73 -$(DEL) test.ok | |
74 -$(DEL) small.vim | |
75 -$(DEL) tiny.vim | |
76 -$(DEL) mbyte.vim | |
2050
afcf9db31561
updated for version 7.2.336
Bram Moolenaar <bram@zimbu.org>
parents:
2005
diff
changeset
|
77 -$(DEL) mzscheme.vim |
3855 | 78 -$(DEL) lua.vim |
1724 | 79 -$(DEL) X* |
80 -$(DEL) viminfo | |
81 | |
82 .in.out: | |
83 $(CP) $*.ok test.ok | |
84 $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in | |
85 diff test.out $*.ok | |
86 -$(DEL) $*.out | |
87 $(MV) test.out $*.out | |
88 -$(DEL) X* | |
89 -$(DEL) test.ok | |
90 -$(DEL) viminfo | |
6328 | 91 |
92 bench_re_freeze.out: bench_re_freeze.vim | |
93 -$(DEL) benchmark.out | |
94 $(VIMPROG) -u dos.vim -U NONE --noplugin $*.in | |
95 $(CAT) benchmark.out |