Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | # |
Bram Moolenaar | 6839272 | 2010-07-30 22:04:17 +0200 | [diff] [blame] | 2 | # Makefile to run all tests for Vim, on Amiga |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 3 | # |
| 4 | # Requires "rm", "csh" and "diff"! |
| 5 | |
| 6 | VIMPROG = /vim |
| 7 | |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 8 | include Make_all.mak |
| 9 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 10 | # These tests don't work (yet): |
| 11 | # test2 "\\tmp" doesn't work |
| 12 | # test10 'errorformat' is different |
| 13 | # test11 "cat" doesn't work properly |
| 14 | # test12 can't unlink a swap file |
| 15 | # test25 uses symbolic link |
| 16 | # test27 can't edit file with "*" |
| 17 | # test52 only for Win32 |
Bram Moolenaar | 98411e5 | 2012-04-05 16:56:52 +0200 | [diff] [blame] | 18 | # test85 no Lua interface |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 19 | # test86, 87 no Python interface |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 20 | |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 21 | SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE3) $(SCRIPTS_MORE4) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 22 | |
Bram Moolenaar | a608243 | 2015-12-28 16:26:45 +0100 | [diff] [blame] | 23 | # Must run test1 first to create small.vim. |
| 24 | $(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(SCRIPTS_FIRST) |
| 25 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 26 | .SUFFIXES: .in .out |
| 27 | |
Bram Moolenaar | a608243 | 2015-12-28 16:26:45 +0100 | [diff] [blame] | 28 | nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 29 | csh -c echo ALL DONE |
| 30 | |
| 31 | clean: |
| 32 | csh -c \rm -rf *.out /tmp/* Xdotest small.vim tiny.vim mbyte.vim test.ok viminfo |
| 33 | |
| 34 | .in.out: |
| 35 | copy $*.ok test.ok |
| 36 | $(VIMPROG) -u amiga.vim -U NONE --noplugin -s dotest.in $*.in |
| 37 | diff test.out $*.ok |
| 38 | rename test.out $*.out |
| 39 | -delete X#? ALL QUIET |
| 40 | -delete test.ok |
| 41 | |
| 42 | # Create a directory for temp files |
| 43 | /tmp: |
| 44 | makedir /tmp |
| 45 | |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 46 | # Manx requires all dependencies, but we stopped updating them. |
| 47 | # Delete the .out file(s) to run test(s). |