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