Mercurial > vim
annotate src/testdir/Make_amiga.mak @ 16044:f4a206d7a04d v8.1.1027
patch 8.1.1027: memory usage test sometimes fails
commit https://github.com/vim/vim/commit/08cda65ddfbb4bce8cef43726a0c00817fc47327
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 20 22:45:01 2019 +0100
patch 8.1.1027: memory usage test sometimes fails
Problem: Memory usage test sometimes fails.
Solution: Use 80% of before.last as the lower limit. (Christian Brabandt)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 20 Mar 2019 23:00:05 +0100 |
parents | d94901eeb762 |
children | 7a942d92980d |
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 Amiga |
7 | 3 # |
4 # Requires "rm", "csh" and "diff"! | |
5 | |
6 VIMPROG = /vim | |
7 | |
7366
eec1dc8ca160
commit https://github.com/vim/vim/commit/40bbceee2213a6fa8fdc1d3f3920d61fb5370803
Christian Brabandt <cb@256bit.org>
parents:
7356
diff
changeset
|
8 default: nongui |
eec1dc8ca160
commit https://github.com/vim/vim/commit/40bbceee2213a6fa8fdc1d3f3920d61fb5370803
Christian Brabandt <cb@256bit.org>
parents:
7356
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 |
7 | 12 # These tests don't work (yet): |
13 # test2 "\\tmp" doesn't work | |
14 # test10 'errorformat' is different | |
15 # test11 "cat" doesn't work properly | |
16 # test52 only for Win32 | |
3618 | 17 # test86, 87 no Python interface |
7 | 18 |
12662
15f0f9f16cd9
patch 8.0.1209: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
8322
diff
changeset
|
19 SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE4) |
7 | 20 |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
21 # 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:
14230
diff
changeset
|
22 $(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS_RES): $(SCRIPTS_FIRST) |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
23 |
7 | 24 .SUFFIXES: .in .out |
25 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
26 nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS) |
7 | 27 csh -c echo ALL DONE |
28 | |
29 clean: | |
30 csh -c \rm -rf *.out /tmp/* Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo | |
31 | |
32 .in.out: | |
33 copy $*.ok test.ok | |
8322
cff44093ddb0
commit https://github.com/vim/vim/commit/9bfdba3de39c9d23d0d44c92b8aeb5a133513806
Christian Brabandt <cb@256bit.org>
parents:
7623
diff
changeset
|
34 $(VIMPROG) -u amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in |
7 | 35 diff test.out $*.ok |
36 rename test.out $*.out | |
37 -delete X#? ALL QUIET | |
38 -delete test.ok | |
39 | |
40 # Create a directory for temp files | |
41 /tmp: | |
42 makedir /tmp | |
43 | |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
44 # Manx requires all dependencies, but we stopped updating them. |
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
45 # Delete the .out file(s) to run test(s). |