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 OS/2 |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 3 | # |
| 4 | # Requires a set of Unix tools: echo, diff, etc. |
| 5 | |
| 6 | VIMPROG = ../vim.exe |
| 7 | |
| 8 | # Omitted: |
| 9 | # test2 "\\tmp" doesn't work. |
| 10 | # test10 'errorformat' is different |
| 11 | # test11 requires sed |
| 12 | # test12 can't unlink a swap file |
| 13 | # test25 uses symbolic link |
| 14 | # test27 can't edit file with "*" in file name |
| 15 | # test52 only for Win32 |
Bram Moolenaar | 98411e5 | 2012-04-05 16:56:52 +0200 | [diff] [blame] | 16 | # test85 no Lua interface |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 17 | # test86, 87 no Python interface |
Bram Moolenaar | ee0ee2a | 2013-07-03 21:19:07 +0200 | [diff] [blame] | 18 | # test97 \{ and \$ are not escaped characters. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 19 | |
| 20 | SCRIPTS = test1.out test3.out test4.out test5.out test6.out \ |
| 21 | test7.out test8.out test9.out \ |
| 22 | test13.out test14.out test15.out test17.out \ |
| 23 | test18.out test19.out test20.out test21.out test22.out \ |
| 24 | test23.out test24.out test26.out \ |
| 25 | test28.out test29.out test30.out test31.out test32.out \ |
| 26 | test33.out test34.out test35.out test36.out test37.out \ |
| 27 | test38.out test39.out test40.out test41.out test42.out \ |
| 28 | test43.out test44.out test45.out test46.out test47.out \ |
Bram Moolenaar | d9d3058 | 2005-05-18 22:10:28 +0000 | [diff] [blame] | 29 | test48.out test51.out test53.out test54.out test55.out \ |
Bram Moolenaar | c4675a1 | 2006-03-15 22:50:30 +0000 | [diff] [blame] | 30 | test56.out test57.out test58.out test59.out test60.out \ |
Bram Moolenaar | dd31030 | 2009-03-11 15:37:53 +0000 | [diff] [blame] | 31 | test61.out test62.out test63.out test64.out test65.out \ |
Bram Moolenaar | 644fdff | 2010-05-30 13:26:21 +0200 | [diff] [blame] | 32 | test66.out test67.out test68.out test69.out test70.out \ |
Bram Moolenaar | 37dd018 | 2010-11-10 16:54:20 +0100 | [diff] [blame] | 33 | test71.out test72.out test73.out test74.out test75.out \ |
Bram Moolenaar | 8b3e033 | 2011-06-26 05:36:34 +0200 | [diff] [blame] | 34 | test76.out test77.out test78.out test79.out test80.out \ |
Bram Moolenaar | f4e5e86 | 2013-02-13 15:44:26 +0100 | [diff] [blame] | 35 | test81.out test82.out test83.out test84.out test88.out \ |
Bram Moolenaar | e3e6e57 | 2013-04-12 13:45:02 +0200 | [diff] [blame] | 36 | test89.out test90.out test91.out test92.out test93.out \ |
Bram Moolenaar | c1c023e | 2013-11-07 03:26:06 +0100 | [diff] [blame] | 37 | test94.out test95.out test96.out test98.out test99.out \ |
Bram Moolenaar | 26df092 | 2014-02-23 23:39:13 +0100 | [diff] [blame] | 38 | test100.out test101.out test102.out test103.out test104.out \ |
Bram Moolenaar | c35b0fb | 2014-05-29 11:47:40 +0200 | [diff] [blame^] | 39 | test105.out test106.out test107.out \ |
Bram Moolenaar | d69bd9a | 2014-04-29 12:15:40 +0200 | [diff] [blame] | 40 | test_autoformat_join.out \ |
Bram Moolenaar | b7cb42b | 2014-04-02 19:55:10 +0200 | [diff] [blame] | 41 | test_eval.out \ |
Bram Moolenaar | efa304d | 2014-04-01 14:08:28 +0200 | [diff] [blame] | 42 | test_options.out |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 43 | |
| 44 | .SUFFIXES: .in .out |
| 45 | |
| 46 | all: /tmp $(SCRIPTS) |
| 47 | @echo ALL DONE |
| 48 | |
| 49 | $(SCRIPTS): $(VIMPROG) |
| 50 | |
| 51 | clean: |
| 52 | -rm -rf *.out Xdotest test.ok tiny.vim small.vim mbyte.vim viminfo |
| 53 | |
| 54 | # Make sure all .in and .out files are in DOS fileformat. |
| 55 | .in.out: |
| 56 | $(VIMPROG) -u NONE -s todos.vim $*.in |
| 57 | $(VIMPROG) -u NONE -s todos.vim $*.ok |
| 58 | copy $*.ok test.ok |
| 59 | $(VIMPROG) -u os2.vim --noplugin -s dotest.in $*.in |
| 60 | $(VIMPROG) -u NONE -s todos.vim test.out |
| 61 | diff test.out $*.ok |
| 62 | rename test.out $*.out |
| 63 | -rm -rf X* viminfo |
| 64 | -del test.ok |
| 65 | |
| 66 | # Create a directory for temp files |
| 67 | /tmp: |
| 68 | -mkdir /tmp |