blob: c39e450d5c2ba7667a6cc802b62158c5ea3289a0 [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 Moolenaar40bbcee2015-12-28 22:24:41 +01008default: nongui
9
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010010include Make_all.mak
11
Bram Moolenaar071d4272004-06-13 20:20:40 +000012# 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# test25 uses symbolic link
18# test27 can't edit file with "*"
19# test52 only for Win32
Bram Moolenaar98411e52012-04-05 16:56:52 +020020# test85 no Lua interface
Bram Moolenaardb913952012-06-29 12:54:53 +020021# test86, 87 no Python interface
Bram Moolenaar071d4272004-06-13 20:20:40 +000022
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010023SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE3) $(SCRIPTS_MORE4)
Bram Moolenaar071d4272004-06-13 20:20:40 +000024
Bram Moolenaara6082432015-12-28 16:26:45 +010025# Must run test1 first to create small.vim.
26$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(SCRIPTS_FIRST)
27
Bram Moolenaar071d4272004-06-13 20:20:40 +000028.SUFFIXES: .in .out
29
Bram Moolenaara6082432015-12-28 16:26:45 +010030nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS)
Bram Moolenaar071d4272004-06-13 20:20:40 +000031 csh -c echo ALL DONE
32
33clean:
34 csh -c \rm -rf *.out /tmp/* Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo
35
36.in.out:
37 copy $*.ok test.ok
38 $(VIMPROG) -u amiga.vim -U NONE --noplugin -s dotest.in $*.in
39 diff test.out $*.ok
40 rename test.out $*.out
41 -delete X#? ALL QUIET
42 -delete test.ok
43
44# Create a directory for temp files
45/tmp:
46 makedir /tmp
47
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010048# Manx requires all dependencies, but we stopped updating them.
49# Delete the .out file(s) to run test(s).