blob: 8948382a6a4de13116839dfa49880384e5f93901 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001#
Bram Moolenaar68392722010-07-30 22:04:17 +02002# Makefile to run all tests for Vim, on Amiga
Bram Moolenaar071d4272004-06-13 20:20:40 +00003#
4# Requires "rm", "csh" and "diff"!
5
6VIMPROG = /vim
7
Bram Moolenaar7b6156f2015-12-28 16:01:26 +01008include Make_all.mak
9
Bram Moolenaar071d4272004-06-13 20:20:40 +000010# These tests don't work (yet):
11# test2 "\\tmp" doesn't work
12# test10 'errorformat' is different
13# test11 "cat" doesn't work properly
14# test12 can't unlink a swap file
15# test25 uses symbolic link
16# test27 can't edit file with "*"
17# test52 only for Win32
Bram Moolenaar98411e52012-04-05 16:56:52 +020018# test85 no Lua interface
Bram Moolenaardb913952012-06-29 12:54:53 +020019# test86, 87 no Python interface
Bram Moolenaar071d4272004-06-13 20:20:40 +000020
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010021SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE3) $(SCRIPTS_MORE4)
Bram Moolenaar071d4272004-06-13 20:20:40 +000022
23.SUFFIXES: .in .out
24
25nongui: /tmp $(SCRIPTS)
26 csh -c echo ALL DONE
27
28clean:
29 csh -c \rm -rf *.out /tmp/* Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo
30
31.in.out:
32 copy $*.ok test.ok
33 $(VIMPROG) -u amiga.vim -U NONE --noplugin -s dotest.in $*.in
34 diff test.out $*.ok
35 rename test.out $*.out
36 -delete X#? ALL QUIET
37 -delete test.ok
38
39# Create a directory for temp files
40/tmp:
41 makedir /tmp
42
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010043# Manx requires all dependencies, but we stopped updating them.
44# Delete the .out file(s) to run test(s).