blob: 926411b6482c80c85e1bfa0aeae3bddbe3262aaf [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 OS/2
Bram Moolenaar071d4272004-06-13 20:20:40 +00003#
4# Requires a set of Unix tools: echo, diff, etc.
5
6VIMPROG = ../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 Moolenaar98411e52012-04-05 16:56:52 +020016# test85 no Lua interface
Bram Moolenaardb913952012-06-29 12:54:53 +020017# test86, 87 no Python interface
Bram Moolenaaree0ee2a2013-07-03 21:19:07 +020018# test97 \{ and \$ are not escaped characters.
Bram Moolenaar071d4272004-06-13 20:20:40 +000019
20SCRIPTS = 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 Moolenaard9d30582005-05-18 22:10:28 +000029 test48.out test51.out test53.out test54.out test55.out \
Bram Moolenaarc4675a12006-03-15 22:50:30 +000030 test56.out test57.out test58.out test59.out test60.out \
Bram Moolenaardd310302009-03-11 15:37:53 +000031 test61.out test62.out test63.out test64.out test65.out \
Bram Moolenaar644fdff2010-05-30 13:26:21 +020032 test66.out test67.out test68.out test69.out test70.out \
Bram Moolenaar37dd0182010-11-10 16:54:20 +010033 test71.out test72.out test73.out test74.out test75.out \
Bram Moolenaar8b3e0332011-06-26 05:36:34 +020034 test76.out test77.out test78.out test79.out test80.out \
Bram Moolenaarf4e5e862013-02-13 15:44:26 +010035 test81.out test82.out test83.out test84.out test88.out \
Bram Moolenaare3e6e572013-04-12 13:45:02 +020036 test89.out test90.out test91.out test92.out test93.out \
Bram Moolenaarc1c023e2013-11-07 03:26:06 +010037 test94.out test95.out test96.out test98.out test99.out \
Bram Moolenaar6cd13452015-12-03 16:54:53 +010038 test101.out test102.out test103.out test104.out \
Bram Moolenaarc35b0fb2014-05-29 11:47:40 +020039 test105.out test106.out test107.out \
Bram Moolenaar4bde00c2015-01-20 19:31:02 +010040 test_argument_0count.out \
Bram Moolenaarb96a7f32014-11-27 16:22:48 +010041 test_argument_count.out \
Bram Moolenaar53744302015-07-17 17:38:22 +020042 test_autocmd_option.out \
Bram Moolenaard69bd9a2014-04-29 12:15:40 +020043 test_autoformat_join.out \
Bram Moolenaarb5cf6c32014-08-16 18:36:43 +020044 test_breakindent.out \
Bram Moolenaaraa23b372015-09-08 18:46:31 +020045 test_cdo.out \
Bram Moolenaar23fb7a92014-07-30 14:05:00 +020046 test_changelist.out \
Bram Moolenaardbd24b52015-08-11 14:26:19 +020047 test_charsearch.out \
Bram Moolenaarb96a7f32014-11-27 16:22:48 +010048 test_close_count.out \
Bram Moolenaarf1d6ccf2014-12-08 04:16:44 +010049 test_command_count.out \
Bram Moolenaar37a8de12015-09-01 16:05:00 +020050 test_comparators.out \
Bram Moolenaar310f2d52015-03-24 17:49:51 +010051 test_erasebackword.out \
Bram Moolenaarb7cb42b2014-04-02 19:55:10 +020052 test_eval.out \
Bram Moolenaar34d72d42015-07-17 14:18:08 +020053 test_fixeol.out \
Bram Moolenaar3a304b22015-06-25 13:57:36 +020054 test_increment.out \
Bram Moolenaar4f5ce332014-07-30 16:00:58 +020055 test_insertcount.out \
Bram Moolenaar79278362015-04-21 18:33:48 +020056 test_listchars.out \
Bram Moolenaar86b17e92014-07-02 20:00:47 +020057 test_listlbr.out \
Bram Moolenaarfb604092014-07-23 15:55:00 +020058 test_listlbr_utf8.out \
Bram Moolenaarbdef5182014-10-21 16:22:17 +020059 test_mapping.out \
Bram Moolenaarf65aad52015-02-17 13:43:40 +010060 test_marks.out \
Bram Moolenaar6561d522015-07-21 15:48:27 +020061 test_match_conceal.out \
Bram Moolenaaref923902014-12-13 21:00:55 +010062 test_nested_function.out \
Bram Moolenaarb5cf6c32014-08-16 18:36:43 +020063 test_options.out \
Bram Moolenaarcf0213e2015-06-19 15:45:29 +020064 test_perl.out \
Bram Moolenaarfb604092014-07-23 15:55:00 +020065 test_qf_title.out \
Bram Moolenaarcf0213e2015-06-19 15:45:29 +020066 test_ruby.out \
Bram Moolenaar5f1e68b2015-07-10 14:43:35 +020067 test_search_mbyte.out \
Bram Moolenaara7b7b1c2015-06-19 14:06:43 +020068 test_set.out \
Bram Moolenaar482a2b52014-10-21 20:57:15 +020069 test_signs.out \
Bram Moolenaar0f6562e2015-11-24 18:48:14 +010070 test_tagcase.out \
Bram Moolenaar438b64a2015-03-13 15:03:00 +010071 test_textobjects.out \
Bram Moolenaar48a969b2015-11-28 14:29:26 +010072 test_utf8.out \
73 test_writefile.out
Bram Moolenaar071d4272004-06-13 20:20:40 +000074
Bram Moolenaarfda37292014-11-05 14:27:36 +010075SCRIPTS_BENCH = bench_re_freeze.out
76
Bram Moolenaar071d4272004-06-13 20:20:40 +000077.SUFFIXES: .in .out
78
79all: /tmp $(SCRIPTS)
80 @echo ALL DONE
81
82$(SCRIPTS): $(VIMPROG)
83
Bram Moolenaarfda37292014-11-05 14:27:36 +010084benchmark: $(SCRIPTS_BENCH)
85
Bram Moolenaar071d4272004-06-13 20:20:40 +000086clean:
87 -rm -rf *.out Xdotest test.ok tiny.vim small.vim mbyte.vim viminfo
88
89# Make sure all .in and .out files are in DOS fileformat.
90.in.out:
91 $(VIMPROG) -u NONE -s todos.vim $*.in
92 $(VIMPROG) -u NONE -s todos.vim $*.ok
93 copy $*.ok test.ok
94 $(VIMPROG) -u os2.vim --noplugin -s dotest.in $*.in
95 $(VIMPROG) -u NONE -s todos.vim test.out
96 diff test.out $*.ok
97 rename test.out $*.out
98 -rm -rf X* viminfo
99 -del test.ok
100
101# Create a directory for temp files
102/tmp:
103 -mkdir /tmp
Bram Moolenaarfda37292014-11-05 14:27:36 +0100104
105bench_re_freeze.out: bench_re_freeze.vim
106 -del $*.failed test.ok benchmark.out
107 copy $*.ok test.ok
108 $(VIMPROG) -u os2.vim --noplugin -s dotest.in $*.in
109 type benchmark.out
110