blob: 6ffc12dfce12c71cbd914f4b9a815abf49128d54 [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 Moolenaarb96a32e2020-08-13 18:59:55 +020012SCRIPTS = $(SCRIPTS_TINY_OUT)
13
Bram Moolenaarf7c4d832020-08-11 20:42:19 +020014.SUFFIXES: .in .out .res .vim
Bram Moolenaar071d4272004-06-13 20:20:40 +000015
Bram Moolenaarb96a32e2020-08-13 18:59:55 +020016nongui: /tmp $(SCRIPTS)
Bram Moolenaar071d4272004-06-13 20:20:40 +000017 csh -c echo ALL DONE
18
19clean:
Bram Moolenaar32a23ac2020-08-14 19:20:23 +020020 csh -c \rm -rf *.out Xdir1 Xfind XfakeHOME Xdotest test.ok viminfo
Bram Moolenaar071d4272004-06-13 20:20:40 +000021
22.in.out:
23 copy $*.ok test.ok
Christian Brabandteb380b92025-07-07 20:53:55 +020024 $(VIMPROG) -u util/amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in
Bram Moolenaar071d4272004-06-13 20:20:40 +000025 diff test.out $*.ok
26 rename test.out $*.out
27 -delete X#? ALL QUIET
28 -delete test.ok
29
30# Create a directory for temp files
31/tmp:
32 makedir /tmp
33
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010034# Manx requires all dependencies, but we stopped updating them.
35# Delete the .out file(s) to run test(s).