blob: efd5808429883d634fcccf3146cf91c6dbbf2af2 [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 Moolenaarf7c4d832020-08-11 20:42:19 +020012.SUFFIXES: .in .out .res .vim
Bram Moolenaar071d4272004-06-13 20:20:40 +000013
Bram Moolenaarf7c4d832020-08-11 20:42:19 +020014nongui: /tmp $(SCRIPTS_FIRST)
Bram Moolenaar071d4272004-06-13 20:20:40 +000015 csh -c echo ALL DONE
16
17clean:
Bram Moolenaar4f5b0e52019-07-05 20:43:52 +020018 csh -c \rm -rf *.out Xdir1 Xfind XfakeHOME Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo
Bram Moolenaar071d4272004-06-13 20:20:40 +000019
20.in.out:
21 copy $*.ok test.ok
Bram Moolenaar9bfdba32016-02-28 19:39:20 +010022 $(VIMPROG) -u amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in
Bram Moolenaar071d4272004-06-13 20:20:40 +000023 diff test.out $*.ok
24 rename test.out $*.out
25 -delete X#? ALL QUIET
26 -delete test.ok
27
28# Create a directory for temp files
29/tmp:
30 makedir /tmp
31
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010032# Manx requires all dependencies, but we stopped updating them.
33# Delete the .out file(s) to run test(s).