Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 1 | # |
2 | # Common Makefile, defines the list of tests to run. | ||||
3 | # | ||||
4 | |||||
Bram Moolenaar | 8be2fbb | 2017-02-23 19:32:47 +0100 | [diff] [blame] | 5 | # Options for protecting the tests against undesirable interaction with the |
6 | # environment | ||||
7 | NO_PLUGINS = --noplugin --not-a-term | ||||
8 | NO_INITS = -U NONE $(NO_PLUGINS) | ||||
Bram Moolenaar | d2227a0 | 2016-02-25 22:37:42 +0100 | [diff] [blame] | 9 | |
Bram Moolenaar | a608243 | 2015-12-28 16:26:45 +0100 | [diff] [blame] | 10 | # The first script creates small.vim. |
11 | SCRIPTS_FIRST = \ | ||||
12 | test1.out | ||||
13 | |||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 14 | # Tests that run on all systems. |
15 | SCRIPTS_ALL = \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 16 | test3.out \ |
17 | test4.out \ | ||||
18 | test5.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 19 | test7.out \ |
20 | test8.out \ | ||||
21 | test9.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 22 | test14.out \ |
23 | test15.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 24 | test19.out \ |
25 | test20.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 26 | test22.out \ |
27 | test23.out \ | ||||
28 | test24.out \ | ||||
29 | test26.out \ | ||||
30 | test28.out \ | ||||
31 | test29.out \ | ||||
32 | test31.out \ | ||||
33 | test33.out \ | ||||
34 | test34.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 35 | test36.out \ |
36 | test37.out \ | ||||
37 | test38.out \ | ||||
38 | test39.out \ | ||||
39 | test40.out \ | ||||
40 | test41.out \ | ||||
41 | test42.out \ | ||||
42 | test43.out \ | ||||
43 | test44.out \ | ||||
44 | test45.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 45 | test48.out \ |
46 | test51.out \ | ||||
47 | test53.out \ | ||||
48 | test55.out \ | ||||
49 | test56.out \ | ||||
50 | test57.out \ | ||||
51 | test60.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 52 | test64.out \ |
53 | test65.out \ | ||||
54 | test66.out \ | ||||
55 | test67.out \ | ||||
56 | test68.out \ | ||||
57 | test69.out \ | ||||
58 | test70.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 59 | test73.out \ |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 60 | test75.out \ |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 61 | test77.out \ |
62 | test79.out \ | ||||
63 | test80.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 64 | test82.out \ |
65 | test84.out \ | ||||
66 | test88.out \ | ||||
67 | test90.out \ | ||||
68 | test91.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 69 | test94.out \ |
70 | test95.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 71 | test98.out \ |
72 | test99.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 73 | test103.out \ |
74 | test104.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 75 | test107.out \ |
Bram Moolenaar | f1f60f8 | 2016-01-16 15:40:53 +0100 | [diff] [blame] | 76 | test108.out \ |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 77 | test_autocmd_option.out \ |
78 | test_autoformat_join.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 79 | test_changelist.out \ |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 80 | test_close_count.out \ |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 81 | test_comparators.out \ |
82 | test_erasebackword.out \ | ||||
83 | test_eval.out \ | ||||
84 | test_fixeol.out \ | ||||
Bram Moolenaar | c970330 | 2016-01-17 21:49:33 +0100 | [diff] [blame] | 85 | test_getcwd.out \ |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 86 | test_insertcount.out \ |
87 | test_listchars.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 88 | test_search_mbyte.out \ |
Bram Moolenaar | 19a1669 | 2016-09-01 22:19:47 +0200 | [diff] [blame] | 89 | test_wordcount.out |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 90 | |
91 | |||||
92 | # Tests that run on most systems, but not on Amiga. | ||||
93 | SCRIPTS_MORE1 = \ | ||||
94 | test11.out \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 95 | test52.out \ |
96 | test85.out \ | ||||
97 | test86.out \ | ||||
98 | test87.out | ||||
99 | |||||
100 | |||||
101 | # Tests that run on most systems, but not on Amiga and DOS/Windows. | ||||
102 | SCRIPTS_MORE2 = \ | ||||
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 103 | test12.out \ |
104 | test25.out \ | ||||
Bram Moolenaar | da9888a | 2015-12-28 21:35:14 +0100 | [diff] [blame] | 105 | test49.out \ |
Bram Moolenaar | 544d3bc | 2017-02-05 21:14:50 +0100 | [diff] [blame] | 106 | test97.out |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 107 | |
108 | |||||
109 | # Tests that run on most systems, but not MingW and Cygwin. | ||||
110 | SCRIPTS_MORE3 = \ | ||||
111 | test54.out | ||||
112 | |||||
113 | |||||
114 | # Tests that run on most systems, but not on VMS | ||||
115 | SCRIPTS_MORE4 = \ | ||||
116 | test17.out \ | ||||
117 | test30.out \ | ||||
118 | test32.out \ | ||||
119 | test58.out \ | ||||
120 | test59.out \ | ||||
121 | test72.out \ | ||||
122 | test78.out \ | ||||
Bram Moolenaar | dc9a081 | 2017-02-23 18:46:50 +0100 | [diff] [blame] | 123 | test83.out |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 124 | |
125 | |||||
126 | # Tests specifically for MS-Windows. | ||||
Bram Moolenaar | da9888a | 2015-12-28 21:35:14 +0100 | [diff] [blame] | 127 | SCRIPTS_WIN32 = test50.out |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 128 | |
129 | |||||
130 | # Tests for the GUI. | ||||
Bram Moolenaar | 877e957 | 2016-08-04 20:05:50 +0200 | [diff] [blame] | 131 | SCRIPTS_GUI = |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 132 | |
133 | |||||
134 | # Tests using runtest.vim.vim. | ||||
Bram Moolenaar | 4d58502 | 2016-04-14 19:50:22 +0200 | [diff] [blame] | 135 | # Keep test_alot*.res as the last one, sort the others. |
Bram Moolenaar | b5e8377 | 2017-02-27 21:48:26 +0100 | [diff] [blame] | 136 | NEW_TESTS = test_arabic.res \ |
137 | test_arglist.res \ | ||||
Bram Moolenaar | 72defda | 2016-01-17 18:04:33 +0100 | [diff] [blame] | 138 | test_assert.res \ |
Bram Moolenaar | 53f1673 | 2016-09-07 20:46:39 +0200 | [diff] [blame] | 139 | test_autochdir.res \ |
Bram Moolenaar | ce2ec0a | 2016-03-15 17:10:19 +0100 | [diff] [blame] | 140 | test_backspace_opt.res \ |
Bram Moolenaar | 6c89686 | 2016-11-17 19:46:51 +0100 | [diff] [blame] | 141 | test_breakindent.res \ |
Bram Moolenaar | b5ae48e | 2016-08-12 22:23:25 +0200 | [diff] [blame] | 142 | test_bufwintabinfo.res \ |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 143 | test_cdo.res \ |
Bram Moolenaar | d7ece10 | 2016-02-02 23:23:02 +0100 | [diff] [blame] | 144 | test_channel.res \ |
Bram Moolenaar | cd055da | 2016-09-02 19:50:48 +0200 | [diff] [blame] | 145 | test_charsearch.res \ |
Bram Moolenaar | ae3150e | 2016-06-11 23:22:36 +0200 | [diff] [blame] | 146 | test_cmdline.res \ |
Bram Moolenaar | 9b73c4a | 2017-01-13 22:30:08 +0100 | [diff] [blame] | 147 | test_command_count.res \ |
Bram Moolenaar | 680e015 | 2016-09-25 20:54:11 +0200 | [diff] [blame] | 148 | test_crypt.res \ |
Bram Moolenaar | 6d20e17 | 2016-07-13 22:44:12 +0200 | [diff] [blame] | 149 | test_cscope.res \ |
Bram Moolenaar | 42093c0 | 2016-07-30 16:16:54 +0200 | [diff] [blame] | 150 | test_diffmode.res \ |
Bram Moolenaar | dfd63e3 | 2016-07-21 10:11:03 +0200 | [diff] [blame] | 151 | test_digraph.res \ |
Bram Moolenaar | 6270660 | 2016-12-09 19:28:48 +0100 | [diff] [blame] | 152 | test_display.res \ |
Bram Moolenaar | ee2615a | 2016-07-02 18:25:34 +0200 | [diff] [blame] | 153 | test_farsi.res \ |
Bram Moolenaar | cd055da | 2016-09-02 19:50:48 +0200 | [diff] [blame] | 154 | test_fnameescape.res \ |
Bram Moolenaar | ded2782 | 2017-01-02 14:27:34 +0100 | [diff] [blame] | 155 | test_fold.res \ |
Bram Moolenaar | 53f1673 | 2016-09-07 20:46:39 +0200 | [diff] [blame] | 156 | test_gf.res \ |
Bram Moolenaar | 6835dc6 | 2016-07-24 17:33:05 +0200 | [diff] [blame] | 157 | test_gn.res \ |
Bram Moolenaar | 877e957 | 2016-08-04 20:05:50 +0200 | [diff] [blame] | 158 | test_gui.res \ |
Bram Moolenaar | 8be2fbb | 2017-02-23 19:32:47 +0100 | [diff] [blame] | 159 | test_gui_init.res \ |
Bram Moolenaar | b569079 | 2016-01-14 22:10:41 +0100 | [diff] [blame] | 160 | test_hardcopy.res \ |
Bram Moolenaar | 343b8c0 | 2017-02-17 12:04:56 +0100 | [diff] [blame] | 161 | test_help.res \ |
Bram Moolenaar | 2256c99 | 2016-11-15 21:17:07 +0100 | [diff] [blame] | 162 | test_hide.res \ |
Bram Moolenaar | 119d469 | 2016-03-05 21:21:24 +0100 | [diff] [blame] | 163 | test_history.res \ |
Bram Moolenaar | 53f1673 | 2016-09-07 20:46:39 +0200 | [diff] [blame] | 164 | test_hlsearch.res \ |
Bram Moolenaar | 4509195 | 2016-01-09 21:08:35 +0100 | [diff] [blame] | 165 | test_increment.res \ |
Bram Moolenaar | d388d2a | 2016-06-26 16:24:20 +0200 | [diff] [blame] | 166 | test_increment_dbcs.res \ |
Bram Moolenaar | 46c4d4a | 2016-08-05 19:31:57 +0200 | [diff] [blame] | 167 | test_job_fails.res \ |
Bram Moolenaar | 1c39102 | 2016-02-28 18:04:00 +0100 | [diff] [blame] | 168 | test_json.res \ |
Bram Moolenaar | 2528163 | 2016-01-21 23:32:32 +0100 | [diff] [blame] | 169 | test_langmap.res \ |
Bram Moolenaar | 544d3bc | 2017-02-05 21:14:50 +0100 | [diff] [blame] | 170 | test_listlbr.res \ |
171 | test_listlbr_utf8.res \ | ||||
Bram Moolenaar | d58f03b | 2017-01-29 22:48:45 +0100 | [diff] [blame] | 172 | test_lua.res \ |
Bram Moolenaar | ddf8d1c | 2016-06-20 11:22:54 +0200 | [diff] [blame] | 173 | test_man.res \ |
Bram Moolenaar | 19a1669 | 2016-09-01 22:19:47 +0200 | [diff] [blame] | 174 | test_marks.res \ |
Bram Moolenaar | 4d58502 | 2016-04-14 19:50:22 +0200 | [diff] [blame] | 175 | test_matchadd_conceal.res \ |
Bram Moolenaar | eca626f | 2016-12-01 18:47:38 +0100 | [diff] [blame] | 176 | test_mksession.res \ |
177 | test_mksession_utf8.res \ | ||||
Bram Moolenaar | 19a1669 | 2016-09-01 22:19:47 +0200 | [diff] [blame] | 178 | test_nested_function.res \ |
Bram Moolenaar | 321efdd | 2016-07-15 17:09:11 +0200 | [diff] [blame] | 179 | test_netbeans.res \ |
Bram Moolenaar | 87bc3f7 | 2016-09-03 17:33:54 +0200 | [diff] [blame] | 180 | test_normal.res \ |
Bram Moolenaar | dc9a081 | 2017-02-23 18:46:50 +0100 | [diff] [blame] | 181 | test_number.res \ |
Bram Moolenaar | f365482 | 2016-03-04 22:12:23 +0100 | [diff] [blame] | 182 | test_packadd.res \ |
Bram Moolenaar | d58f03b | 2017-01-29 22:48:45 +0100 | [diff] [blame] | 183 | test_paste.res \ |
Bram Moolenaar | b20e334 | 2016-01-18 23:29:01 +0100 | [diff] [blame] | 184 | test_perl.res \ |
Bram Moolenaar | 296b1f2 | 2017-01-15 15:22:33 +0100 | [diff] [blame] | 185 | test_profile.res \ |
Bram Moolenaar | a58883b | 2017-01-29 21:31:09 +0100 | [diff] [blame] | 186 | test_python2.res \ |
187 | test_python3.res \ | ||||
Bram Moolenaar | f42dd3c | 2017-01-28 16:06:38 +0100 | [diff] [blame] | 188 | test_pyx2.res \ |
189 | test_pyx3.res \ | ||||
Bram Moolenaar | da59dd5 | 2016-01-05 21:59:58 +0100 | [diff] [blame] | 190 | test_quickfix.res \ |
Bram Moolenaar | 8822744 | 2017-01-17 22:16:00 +0100 | [diff] [blame] | 191 | test_retab.res \ |
Bram Moolenaar | 85babd6 | 2016-06-21 22:59:28 +0200 | [diff] [blame] | 192 | test_ruby.res \ |
Bram Moolenaar | 4d6f32c | 2016-08-26 19:13:46 +0200 | [diff] [blame] | 193 | test_search.res \ |
Bram Moolenaar | 09de175 | 2016-08-08 22:26:48 +0200 | [diff] [blame] | 194 | test_signs.res \ |
Bram Moolenaar | 53f1673 | 2016-09-07 20:46:39 +0200 | [diff] [blame] | 195 | test_smartindent.res \ |
Bram Moolenaar | d3f78dc | 2017-02-25 14:21:10 +0100 | [diff] [blame] | 196 | test_spell.res \ |
Bram Moolenaar | b9a46fe | 2016-07-29 18:13:42 +0200 | [diff] [blame] | 197 | test_startup.res \ |
Bram Moolenaar | f71d7b9 | 2016-08-09 22:14:05 +0200 | [diff] [blame] | 198 | test_startup_utf8.res \ |
Bram Moolenaar | 8767f52 | 2016-07-01 17:17:39 +0200 | [diff] [blame] | 199 | test_stat.res \ |
Bram Moolenaar | cd055da | 2016-09-02 19:50:48 +0200 | [diff] [blame] | 200 | test_substitute.res \ |
Bram Moolenaar | b8060fe | 2016-01-19 22:29:28 +0100 | [diff] [blame] | 201 | test_syntax.res \ |
Bram Moolenaar | 12c4492 | 2017-01-08 13:26:03 +0100 | [diff] [blame] | 202 | test_system.res \ |
Bram Moolenaar | a4c906a | 2017-01-29 23:26:37 +0100 | [diff] [blame] | 203 | test_tcl.res \ |
Bram Moolenaar | 00b24be | 2016-07-23 22:04:47 +0200 | [diff] [blame] | 204 | test_textobjects.res \ |
Bram Moolenaar | 170b10b | 2016-07-29 16:15:27 +0200 | [diff] [blame] | 205 | test_undo.res \ |
Bram Moolenaar | 63a60de | 2016-06-04 22:08:55 +0200 | [diff] [blame] | 206 | test_usercommands.res \ |
Bram Moolenaar | b20e334 | 2016-01-18 23:29:01 +0100 | [diff] [blame] | 207 | test_viminfo.res \ |
Bram Moolenaar | b544f3c | 2017-02-23 19:03:28 +0100 | [diff] [blame] | 208 | test_vimscript.res \ |
Bram Moolenaar | 20b4f46 | 2016-03-05 17:25:39 +0100 | [diff] [blame] | 209 | test_visual.res \ |
Bram Moolenaar | 86edef6 | 2016-03-13 18:07:30 +0100 | [diff] [blame] | 210 | test_window_id.res \ |
Bram Moolenaar | 19a1669 | 2016-09-01 22:19:47 +0200 | [diff] [blame] | 211 | test_writefile.res \ |
Bram Moolenaar | 22e4215 | 2016-04-03 14:02:02 +0200 | [diff] [blame] | 212 | test_alot_latin.res \ |
213 | test_alot_utf8.res \ | ||||
Bram Moolenaar | b20e334 | 2016-01-18 23:29:01 +0100 | [diff] [blame] | 214 | test_alot.res |
Bram Moolenaar | 7b6156f | 2015-12-28 16:01:26 +0100 | [diff] [blame] | 215 | |
216 | |||||
217 | # Explicit dependencies. | ||||
218 | test49.out: test49.vim | ||||
219 | |||||
220 | test60.out: test60.vim | ||||
221 |