annotate src/testdir/Make_amiga.mak @ 19713:8514e8b7e661 v8.2.0413

patch 8.2.0413: buffer menu does not handle special buffers properly Commit: https://github.com/vim/vim/commit/5e94a29ebbde10dd973d58f1adba9a2fc83877d1 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 19 18:46:57 2020 +0100 patch 8.2.0413: buffer menu does not handle special buffers properly Problem: Buffer menu does not handle special buffers properly. Solution: Keep a dictionary with buffer names to reliably keep track of entries. Also trigger BufFilePre and BufFilePost for command-line and terminal buffers when the name changes.
author Bram Moolenaar <Bram@vim.org>
date Thu, 19 Mar 2020 19:00:04 +0100
parents 9140a11d111a
children 31cb78014fe4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # Requires "rm", "csh" and "diff"!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 VIMPROG = /vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 # These tests don't work (yet):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 # test2 "\\tmp" doesn't work
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 # test10 'errorformat' is different
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 # test52 only for Win32
3618
c052f3b79b99 updated for version 7.3.569
Bram Moolenaar <bram@vim.org>
parents: 3452
diff changeset
16 # test86, 87 no Python interface
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
12662
15f0f9f16cd9 patch 8.0.1209: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents: 8322
diff changeset
18 SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE4)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
7356
f0eb9aa9eb32 commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents: 7354
diff changeset
20 # 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
21 $(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
22
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 .SUFFIXES: .in .out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
7356
f0eb9aa9eb32 commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents: 7354
diff changeset
25 nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 csh -c echo ALL DONE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 clean:
17276
9140a11d111a patch 8.1.1637: after running tests and clean the XfakeHOME directory remains
Bram Moolenaar <Bram@vim.org>
parents: 16397
diff changeset
29 csh -c \rm -rf *.out Xdir1 Xfind XfakeHOME Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 .in.out:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 copy $*.ok test.ok
8322
cff44093ddb0 commit https://github.com/vim/vim/commit/9bfdba3de39c9d23d0d44c92b8aeb5a133513806
Christian Brabandt <cb@256bit.org>
parents: 7623
diff changeset
33 $(VIMPROG) -u amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 diff test.out $*.ok
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 rename test.out $*.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 -delete X#? ALL QUIET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 -delete test.ok
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 # Create a directory for temp files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 /tmp:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 makedir /tmp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
7354
81dc9e30aad6 commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents: 7350
diff changeset
43 # 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
44 # Delete the .out file(s) to run test(s).