Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile to run al tests for Vim, on OS/2 |
| 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 |
| 16 | |
| 17 | SCRIPTS = test1.out test3.out test4.out test5.out test6.out \ |
| 18 | test7.out test8.out test9.out \ |
| 19 | test13.out test14.out test15.out test17.out \ |
| 20 | test18.out test19.out test20.out test21.out test22.out \ |
| 21 | test23.out test24.out test26.out \ |
| 22 | test28.out test29.out test30.out test31.out test32.out \ |
| 23 | test33.out test34.out test35.out test36.out test37.out \ |
| 24 | test38.out test39.out test40.out test41.out test42.out \ |
| 25 | test43.out test44.out test45.out test46.out test47.out \ |
Bram Moolenaar | d9d3058 | 2005-05-18 22:10:28 +0000 | [diff] [blame] | 26 | test48.out test51.out test53.out test54.out test55.out \ |
Bram Moolenaar | c4675a1 | 2006-03-15 22:50:30 +0000 | [diff] [blame] | 27 | test56.out test57.out test58.out test59.out test60.out \ |
Bram Moolenaar | dd31030 | 2009-03-11 15:37:53 +0000 | [diff] [blame] | 28 | test61.out test62.out test63.out test64.out test65.out \ |
Bram Moolenaar | f11021b | 2009-11-17 16:57:14 +0000 | [diff] [blame^] | 29 | test66.out test67.out test68.out test69.out |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 30 | |
| 31 | .SUFFIXES: .in .out |
| 32 | |
| 33 | all: /tmp $(SCRIPTS) |
| 34 | @echo ALL DONE |
| 35 | |
| 36 | $(SCRIPTS): $(VIMPROG) |
| 37 | |
| 38 | clean: |
| 39 | -rm -rf *.out Xdotest test.ok tiny.vim small.vim mbyte.vim viminfo |
| 40 | |
| 41 | # Make sure all .in and .out files are in DOS fileformat. |
| 42 | .in.out: |
| 43 | $(VIMPROG) -u NONE -s todos.vim $*.in |
| 44 | $(VIMPROG) -u NONE -s todos.vim $*.ok |
| 45 | copy $*.ok test.ok |
| 46 | $(VIMPROG) -u os2.vim --noplugin -s dotest.in $*.in |
| 47 | $(VIMPROG) -u NONE -s todos.vim test.out |
| 48 | diff test.out $*.ok |
| 49 | rename test.out $*.out |
| 50 | -rm -rf X* viminfo |
| 51 | -del test.ok |
| 52 | |
| 53 | # Create a directory for temp files |
| 54 | /tmp: |
| 55 | -mkdir /tmp |