blob: df77e4dc4d7808bfdfb567b3a762ba2ee1c89ae1 [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
Bram Moolenaar071d4272004-06-13 20:20:40 +000015# test52 only for Win32
Bram Moolenaardb913952012-06-29 12:54:53 +020016# test86, 87 no Python interface
Bram Moolenaar071d4272004-06-13 20:20:40 +000017
Bram Moolenaar53f0c962017-10-22 14:23:59 +020018SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE4)
Bram Moolenaar071d4272004-06-13 20:20:40 +000019
Bram Moolenaara6082432015-12-28 16:26:45 +010020# Must run test1 first to create small.vim.
Bram Moolenaarec504012019-01-11 17:30:16 +010021$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS_RES): $(SCRIPTS_FIRST)
Bram Moolenaara6082432015-12-28 16:26:45 +010022
Bram Moolenaar071d4272004-06-13 20:20:40 +000023.SUFFIXES: .in .out
24
Bram Moolenaara6082432015-12-28 16:26:45 +010025nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS)
Bram Moolenaar071d4272004-06-13 20:20:40 +000026 csh -c echo ALL DONE
27
28clean:
Bram Moolenaar4f5b0e52019-07-05 20:43:52 +020029 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 +000030
31.in.out:
32 copy $*.ok test.ok
Bram Moolenaar9bfdba32016-02-28 19:39:20 +010033 $(VIMPROG) -u amiga.vim -U NONE --noplugin --not-a-term -s dotest.in $*.in
Bram Moolenaar071d4272004-06-13 20:20:40 +000034 diff test.out $*.ok
35 rename test.out $*.out
36 -delete X#? ALL QUIET
37 -delete test.ok
38
39# Create a directory for temp files
40/tmp:
41 makedir /tmp
42
Bram Moolenaar7b6156f2015-12-28 16:01:26 +010043# Manx requires all dependencies, but we stopped updating them.
44# Delete the .out file(s) to run test(s).