Skip to content

Commit 7b6156f

Browse files
committed
patch 7.4.982
Problem: Keeping the list of tests updated is a hassle. Solution: Move the list to a separate file, so that it only needs to be udpated in one place.
1 parent 4686b32 commit 7b6156f

8 files changed

Lines changed: 227 additions & 490 deletions

File tree

src/testdir/Make_all.mak

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
#
2+
# Common Makefile, defines the list of tests to run.
3+
#
4+
5+
# Tests that run on all systems.
6+
SCRIPTS_ALL = \
7+
test1.out \
8+
test3.out \
9+
test4.out \
10+
test5.out \
11+
test6.out \
12+
test7.out \
13+
test8.out \
14+
test9.out \
15+
test13.out \
16+
test14.out \
17+
test15.out \
18+
test18.out \
19+
test19.out \
20+
test20.out \
21+
test21.out \
22+
test22.out \
23+
test23.out \
24+
test24.out \
25+
test26.out \
26+
test28.out \
27+
test29.out \
28+
test31.out \
29+
test33.out \
30+
test34.out \
31+
test35.out \
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 \
42+
test46.out \
43+
test47.out \
44+
test48.out \
45+
test51.out \
46+
test53.out \
47+
test55.out \
48+
test56.out \
49+
test57.out \
50+
test60.out \
51+
test61.out \
52+
test62.out \
53+
test63.out \
54+
test64.out \
55+
test65.out \
56+
test66.out \
57+
test67.out \
58+
test68.out \
59+
test69.out \
60+
test70.out \
61+
test71.out \
62+
test73.out \
63+
test74.out \
64+
test75.out \
65+
test76.out \
66+
test77.out \
67+
test79.out \
68+
test80.out \
69+
test81.out \
70+
test82.out \
71+
test84.out \
72+
test88.out \
73+
test90.out \
74+
test91.out \
75+
test92.out \
76+
test93.out \
77+
test94.out \
78+
test95.out \
79+
test96.out \
80+
test98.out \
81+
test99.out \
82+
test101.out \
83+
test102.out \
84+
test103.out \
85+
test104.out \
86+
test105.out \
87+
test106.out \
88+
test107.out \
89+
test_argument_0count.out \
90+
test_argument_count.out \
91+
test_autocmd_option.out \
92+
test_autoformat_join.out \
93+
test_breakindent.out \
94+
test_changelist.out \
95+
test_charsearch.out \
96+
test_close_count.out \
97+
test_command_count.out \
98+
test_comparators.out \
99+
test_erasebackword.out \
100+
test_eval.out \
101+
test_fixeol.out \
102+
test_increment.out \
103+
test_insertcount.out \
104+
test_listchars.out \
105+
test_listlbr.out \
106+
test_listlbr_utf8.out \
107+
test_mapping.out \
108+
test_marks.out \
109+
test_match_conceal.out \
110+
test_nested_function.out \
111+
test_options.out \
112+
test_perl.out \
113+
test_qf_title.out \
114+
test_ruby.out \
115+
test_search_mbyte.out \
116+
test_set.out \
117+
test_signs.out \
118+
test_tagcase.out \
119+
test_textobjects.out \
120+
test_utf8.out \
121+
test_writefile.out
122+
123+
124+
# Tests that run on most systems, but not on Amiga.
125+
SCRIPTS_MORE1 = \
126+
test11.out \
127+
test49.out \
128+
test52.out \
129+
test85.out \
130+
test86.out \
131+
test87.out
132+
133+
134+
# Tests that run on most systems, but not on Amiga and DOS/Windows.
135+
SCRIPTS_MORE2 = \
136+
test2.out \
137+
test10.out \
138+
test12.out \
139+
test25.out \
140+
test27.out \
141+
test97.out
142+
143+
144+
# Tests that run on most systems, but not MingW and Cygwin.
145+
SCRIPTS_MORE3 = \
146+
test54.out
147+
148+
149+
# Tests that run on most systems, but not on VMS
150+
SCRIPTS_MORE4 = \
151+
test17.out \
152+
test30.out \
153+
test32.out \
154+
test58.out \
155+
test59.out \
156+
test72.out \
157+
test78.out \
158+
test83.out \
159+
test89.out
160+
161+
162+
# Tests specifically for MS-Windows.
163+
SCRIPTS_WIN32 = test50.out test70.out
164+
165+
166+
# Tests for the GUI.
167+
SCRIPTS_GUI = test16.out
168+
169+
170+
# Tests using runtest.vim.vim.
171+
# Keep test_alot.res as the last one, sort the others.
172+
NEW_TESTS = test_assert.res \
173+
test_cdo.res \
174+
test_alot.res
175+
176+
177+
# Explicit dependencies.
178+
test49.out: test49.vim
179+
180+
test60.out: test60.vim
181+

src/testdir/Make_amiga.mak

Lines changed: 5 additions & 187 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
VIMPROG = /vim
77

8+
include Make_all.mak
9+
810
# These tests don't work (yet):
911
# test2 "\\tmp" doesn't work
1012
# test10 'errorformat' is different
@@ -16,59 +18,7 @@ VIMPROG = /vim
1618
# test85 no Lua interface
1719
# test86, 87 no Python interface
1820

19-
SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
20-
test7.out test8.out test9.out \
21-
test13.out test14.out test15.out test17.out \
22-
test18.out test19.out test20.out test21.out test22.out \
23-
test23.out test24.out test26.out \
24-
test28.out test29.out test30.out test31.out test32.out \
25-
test33.out test34.out test35.out test36.out test37.out \
26-
test38.out test39.out test40.out test41.out test42.out \
27-
test43.out test44.out test45.out test46.out test47.out \
28-
test48.out test51.out test53.out test54.out test55.out \
29-
test56.out test57.out test58.out test59.out test60.out \
30-
test61.out test62.out test63.out test64.out test65.out \
31-
test66.out test67.out test68.out test69.out test70.out \
32-
test71.out test72.out test73.out test74.out test75.out \
33-
test76.out test77.out test78.out test79.out test80.out \
34-
test81.out test82.out test83.out test84.out test88.out \
35-
test89.out test90.out test91.out test92.out test93.out \
36-
test94.out test95.out test96.out test97.out test98.out \
37-
test99.out test101.out test102.out test103.out \
38-
test104.out test105.out test106.out test107.out \
39-
test_argument_0count.out \
40-
test_argument_count.out \
41-
test_autocmd_option.out \
42-
test_autoformat_join.out \
43-
test_breakindent.out \
44-
test_changelist.out \
45-
test_charsearch.out \
46-
test_close_count.out \
47-
test_command_count.out \
48-
test_comparators.out \
49-
test_erasebackword.out \
50-
test_eval.out \
51-
test_fixeol.out \
52-
test_increment.out \
53-
test_insertcount.out \
54-
test_listchars.out \
55-
test_listlbr.out \
56-
test_listlbr_utf8.out \
57-
test_mapping.out \
58-
test_marks.out \
59-
test_match_conceal.out \
60-
test_nested_function.out \
61-
test_options.out \
62-
test_perl.out \
63-
test_qf_title.out \
64-
test_ruby.out \
65-
test_search_mbyte.out \
66-
test_set.out \
67-
test_signs.out \
68-
test_tagcase.out \
69-
test_textobjects.out \
70-
test_utf8.out \
71-
test_writefile.out
21+
SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE3) $(SCRIPTS_MORE4)
7222

7323
.SUFFIXES: .in .out
7424

@@ -90,137 +40,5 @@ clean:
9040
/tmp:
9141
makedir /tmp
9242

93-
# Manx requires all dependencies...
94-
test1.out: test1.in
95-
test2.out: test2.in
96-
test3.out: test3.in
97-
test4.out: test4.in
98-
test5.out: test5.in
99-
test6.out: test6.in
100-
test7.out: test7.in
101-
test8.out: test8.in
102-
test9.out: test9.in
103-
test10.out: test10.in
104-
test11.out: test11.in
105-
test12.out: test12.in
106-
test13.out: test13.in
107-
test14.out: test14.in
108-
test15.out: test15.in
109-
test16.out: test16.in
110-
test17.out: test17.in
111-
test18.out: test18.in
112-
test19.out: test19.in
113-
test20.out: test20.in
114-
test21.out: test21.in
115-
test22.out: test22.in
116-
test23.out: test23.in
117-
test24.out: test24.in
118-
test25.out: test25.in
119-
test26.out: test26.in
120-
test27.out: test27.in
121-
test28.out: test28.in
122-
test29.out: test29.in
123-
test30.out: test30.in
124-
test31.out: test31.in
125-
test32.out: test32.in
126-
test33.out: test33.in
127-
test34.out: test34.in
128-
test35.out: test35.in
129-
test36.out: test36.in
130-
test37.out: test37.in
131-
test38.out: test38.in
132-
test39.out: test39.in
133-
test40.out: test40.in
134-
test41.out: test41.in
135-
test42.out: test42.in
136-
test43.out: test43.in
137-
test44.out: test44.in
138-
test45.out: test45.in
139-
test46.out: test46.in
140-
test47.out: test47.in
141-
test48.out: test48.in
142-
test51.out: test51.in
143-
test53.out: test53.in
144-
test54.out: test54.in
145-
test55.out: test55.in
146-
test56.out: test56.in
147-
test57.out: test57.in
148-
test58.out: test58.in
149-
test59.out: test59.in
150-
test60.out: test60.in
151-
test61.out: test61.in
152-
test62.out: test62.in
153-
test63.out: test63.in
154-
test64.out: test64.in
155-
test65.out: test65.in
156-
test66.out: test66.in
157-
test67.out: test67.in
158-
test68.out: test68.in
159-
test69.out: test69.in
160-
test70.out: test70.in
161-
test71.out: test71.in
162-
test72.out: test72.in
163-
test73.out: test73.in
164-
test74.out: test74.in
165-
test75.out: test75.in
166-
test76.out: test76.in
167-
test77.out: test77.in
168-
test78.out: test78.in
169-
test79.out: test79.in
170-
test80.out: test80.in
171-
test81.out: test81.in
172-
test82.out: test82.in
173-
test83.out: test83.in
174-
test84.out: test84.in
175-
test88.out: test88.in
176-
test89.out: test89.in
177-
test90.out: test90.in
178-
test91.out: test91.in
179-
test92.out: test92.in
180-
test93.out: test93.in
181-
test94.out: test94.in
182-
test95.out: test95.in
183-
test96.out: test96.in
184-
test97.out: test97.in
185-
test98.out: test98.in
186-
test99.out: test99.in
187-
test101.out: test101.in
188-
test102.out: test102.in
189-
test103.out: test103.in
190-
test104.out: test104.in
191-
test105.out: test105.in
192-
test106.out: test106.in
193-
test107.out: test107.in
194-
test_argument_0count.out: test_argument_0count.in
195-
test_argument_count.out: test_argument_count.in
196-
test_autocmd_option.out: test_autocmd_option.in
197-
test_autoformat_join.out: test_autoformat_join.in
198-
test_breakindent.out: test_breakindent.in
199-
test_changelist.out: test_changelist.in
200-
test_charsearch.out: test_charsearch.in
201-
test_close_count.out: test_close_count.in
202-
test_command_count.out: test_command_count.in
203-
test_comparators.out: test_comparators.in
204-
test_erasebackword.out: test_erasebackword.in
205-
test_eval.out: test_eval.in
206-
test_increment.out: test_increment.in
207-
test_fixeol.out: test_fixeol.in
208-
test_insertcount.out: test_insertcount.in
209-
test_listchars.out: test_listchars.in
210-
test_listlbr.out: test_listlbr.in
211-
test_listlbr_utf8.out: test_listlbr_utf8.in
212-
test_mapping.out: test_mapping.in
213-
test_marks.out: test_marks.in
214-
test_match_conceal.out: test_match_conceal.in
215-
test_nested_function.out: test_nested_function.in
216-
test_options.out: test_options.in
217-
test_perl.out: test_perl.in
218-
test_qf_title.out: test_qf_title.in
219-
test_ruby.out: test_ruby.in
220-
test_search_mbyte.out: test_search_mbyte.in
221-
test_set.out: test_set.in
222-
test_signs.out: test_signs.in
223-
test_tagcase.out: test_tagcase.in
224-
test_textobjects.out: test_textobjects.in
225-
test_utf8.out: test_utf8.in
226-
test_writefile.out: test_writefile.in
43+
# Manx requires all dependencies, but we stopped updating them.
44+
# Delete the .out file(s) to run test(s).

0 commit comments

Comments
 (0)