blob: edb390d1f18e7d097a49d74579c7b2d4505618fd [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
Bram Moolenaara6082432015-12-28 16:26:45 +010023# Must run test1 first to create small.vim.
24$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(SCRIPTS_FIRST)
25
Bram Moolenaar071d4272004-06-13 20:20:40 +000026.SUFFIXES: .in .out
27
Bram Moolenaara6082432015-12-28 16:26:45 +010028nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS)
Bram Moolenaar071d4272004-06-13 20:20:40 +000029 csh -c echo ALL DONE
30
31clean:
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
36 $(VIMPROG) -u amiga.vim -U NONE --noplugin -s dotest.in $*.in
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
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010046# Manx requires all dependencies, but we stopped updating them.
47# Delete the .out file(s) to run test(s).