blob: d894001325f09ba19f8e9c2e04559f4cfcd6555e [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
Bram Moolenaar071d4272004-06-13 20:20:40 +000016# test52 only for Win32
Bram Moolenaar98411e52012-04-05 16:56:52 +020017# test85 no Lua interface
Bram Moolenaardb913952012-06-29 12:54:53 +020018# test86, 87 no Python interface
Bram Moolenaar071d4272004-06-13 20:20:40 +000019
Bram Moolenaar53f0c962017-10-22 14:23:59 +020020SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE4)
Bram Moolenaar071d4272004-06-13 20:20:40 +000021
Bram Moolenaara6082432015-12-28 16:26:45 +010022# Must run test1 first to create small.vim.
23$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(SCRIPTS_FIRST)
24
Bram Moolenaar071d4272004-06-13 20:20:40 +000025.SUFFIXES: .in .out
26
Bram Moolenaara6082432015-12-28 16:26:45 +010027nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS)
Bram Moolenaar071d4272004-06-13 20:20:40 +000028 csh -c echo ALL DONE
29
30clean:
31 csh -c \rm -rf *.out /tmp/* Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo
32
33.in.out:
34 copy $*.ok test.ok
Bram Moolenaar9bfdba32016-02-28 19:39:20 +010035 $(VIMPROG) -u amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in
Bram Moolenaar071d4272004-06-13 20:20:40 +000036 diff test.out $*.ok
37 rename test.out $*.out
38 -delete X#? ALL QUIET
39 -delete test.ok
40
41# Create a directory for temp files
42/tmp:
43 makedir /tmp
44
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010045# Manx requires all dependencies, but we stopped updating them.
46# Delete the .out file(s) to run test(s).