blob: e6e55e3b4f41ced3d3b1d7d581c9aa000e672df1 [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 Moolenaar53f0c962017-10-22 14:23:59 +020012SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE4)
Bram Moolenaar071d4272004-06-13 20:20:40 +000013
Bram Moolenaara6082432015-12-28 16:26:45 +010014# Must run test1 first to create small.vim.
Bram Moolenaarec504012019-01-11 17:30:16 +010015$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS_RES): $(SCRIPTS_FIRST)
Bram Moolenaara6082432015-12-28 16:26:45 +010016
Bram Moolenaar071d4272004-06-13 20:20:40 +000017.SUFFIXES: .in .out
18
Bram Moolenaara6082432015-12-28 16:26:45 +010019nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS)
Bram Moolenaar071d4272004-06-13 20:20:40 +000020 csh -c echo ALL DONE
21
22clean:
Bram Moolenaar4f5b0e52019-07-05 20:43:52 +020023 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 +000024
25.in.out:
26 copy $*.ok test.ok
Bram Moolenaar9bfdba32016-02-28 19:39:20 +010027 $(VIMPROG) -u amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in
Bram Moolenaar071d4272004-06-13 20:20:40 +000028 diff test.out $*.ok
29 rename test.out $*.out
30 -delete X#? ALL QUIET
31 -delete test.ok
32
33# Create a directory for temp files
34/tmp:
35 makedir /tmp
36
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010037# Manx requires all dependencies, but we stopped updating them.
38# Delete the .out file(s) to run test(s).