blob: 6cb3ed8cdb9063d381fdb73de320c04d960cbc1f [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 Moolenaardb913952012-06-29 12:54:53 +020017# test86, 87 no Python interface
Bram Moolenaar071d4272004-06-13 20:20:40 +000018
Bram Moolenaar53f0c962017-10-22 14:23:59 +020019SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE4)
Bram Moolenaar071d4272004-06-13 20:20:40 +000020
Bram Moolenaara6082432015-12-28 16:26:45 +010021# Must run test1 first to create small.vim.
22$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(SCRIPTS_FIRST)
23
Bram Moolenaar071d4272004-06-13 20:20:40 +000024.SUFFIXES: .in .out
25
Bram Moolenaara6082432015-12-28 16:26:45 +010026nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS)
Bram Moolenaar071d4272004-06-13 20:20:40 +000027 csh -c echo ALL DONE
28
29clean:
30 csh -c \rm -rf *.out /tmp/* Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo
31
32.in.out:
33 copy $*.ok test.ok
Bram Moolenaar9bfdba32016-02-28 19:39:20 +010034 $(VIMPROG) -u amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in
Bram Moolenaar071d4272004-06-13 20:20:40 +000035 diff test.out $*.ok
36 rename test.out $*.out
37 -delete X#? ALL QUIET
38 -delete test.ok
39
40# Create a directory for temp files
41/tmp:
42 makedir /tmp
43
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010044# Manx requires all dependencies, but we stopped updating them.
45# Delete the .out file(s) to run test(s).