Mercurial > vim
annotate src/testdir/Make_amiga.mak @ 12746:27eee6528b3d v8.0.1251
patch 8.0.1251: invalid expressin passed to WaitFor()
commit https://github.com/vim/vim/commit/d97fbf171ec0e63117813da045d2a1c51a9b6f62
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 2 19:23:03 2017 +0100
patch 8.0.1251: invalid expressin passed to WaitFor()
Problem: Invalid expressin passed to WaitFor().
Solution: Check if the variable exists.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Nov 2017 19:30:06 +0100 |
parents | aa658b33f25a |
children | 0b6c09957b43 |
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 # test12 can't unlink a swap file | |
17 # test52 only for Win32 | |
3452 | 18 # test85 no Lua interface |
3618 | 19 # test86, 87 no Python interface |
7 | 20 |
12662
15f0f9f16cd9
patch 8.0.1209: still too many old style tests
Christian Brabandt <cb@256bit.org>
parents:
8322
diff
changeset
|
21 SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE4) |
7 | 22 |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
23 # 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
|
24 $(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(SCRIPTS_FIRST) |
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
25 |
7 | 26 .SUFFIXES: .in .out |
27 | |
7356
f0eb9aa9eb32
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Christian Brabandt <cb@256bit.org>
parents:
7354
diff
changeset
|
28 nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS) |
7 | 29 csh -c echo ALL DONE |
30 | |
31 clean: | |
32 csh -c \rm -rf *.out /tmp/* Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo | |
33 | |
34 .in.out: | |
35 copy $*.ok test.ok | |
8322
cff44093ddb0
commit https://github.com/vim/vim/commit/9bfdba3de39c9d23d0d44c92b8aeb5a133513806
Christian Brabandt <cb@256bit.org>
parents:
7623
diff
changeset
|
36 $(VIMPROG) -u amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in |
7 | 37 diff test.out $*.ok |
38 rename test.out $*.out | |
39 -delete X#? ALL QUIET | |
40 -delete test.ok | |
41 | |
42 # Create a directory for temp files | |
43 /tmp: | |
44 makedir /tmp | |
45 | |
7354
81dc9e30aad6
commit https://github.com/vim/vim/commit/7b6156f4cd4027b664a916ba546e9b05d4c49e11
Christian Brabandt <cb@256bit.org>
parents:
7350
diff
changeset
|
46 # 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
|
47 # Delete the .out file(s) to run test(s). |