Skip to content

Commit 4a137b4

Browse files
committed
patch 8.0.0861: still many old style tests
Problem: Still many old style tests. Solution: Convert several tests to new style. (Yegappan Lakshmanan)
1 parent 6b7355a commit 4a137b4

23 files changed

+169
-210
lines changed

src/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2137,6 +2137,7 @@ test_arglist \
21372137
test_crypt \
21382138
test_cscope \
21392139
test_cursor_func \
2140+
test_curswant \
21402141
test_delete \
21412142
test_diffmode \
21422143
test_digraph \
@@ -2155,6 +2156,7 @@ test_arglist \
21552156
test_farsi \
21562157
test_feedkeys \
21572158
test_file_perm \
2159+
test_file_size \
21582160
test_fileformat \
21592161
test_filetype \
21602162
test_filter_cmd \
@@ -2189,6 +2191,8 @@ test_arglist \
21892191
test_lambda \
21902192
test_langmap \
21912193
test_largefile \
2194+
test_let \
2195+
test_lineending \
21922196
test_lispwords \
21932197
test_listlbr \
21942198
test_listlbr_utf8 \
@@ -2233,6 +2237,7 @@ test_arglist \
22332237
test_reltime \
22342238
test_retab \
22352239
test_ruby \
2240+
test_scrollbind \
22362241
test_search \
22372242
test_searchpos \
22382243
test_set \

src/testdir/Make_all.mak

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ SCRIPTS_ALL = \
1818
test5.out \
1919
test7.out \
2020
test8.out \
21-
test9.out \
2221
test14.out \
2322
test15.out \
2423
test19.out \
2524
test20.out \
26-
test22.out \
2725
test28.out \
2826
test29.out \
2927
test31.out \
@@ -52,18 +50,14 @@ SCRIPTS_ALL = \
5250
test69.out \
5351
test70.out \
5452
test73.out \
55-
test77.out \
5653
test79.out \
5754
test80.out \
58-
test84.out \
5955
test88.out \
6056
test91.out \
6157
test94.out \
6258
test95.out \
63-
test98.out \
6459
test99.out \
6560
test103.out \
66-
test104.out \
6761
test107.out \
6862
test108.out \
6963
test_autoformat_join.out \
@@ -137,11 +131,13 @@ NEW_TESTS = test_arabic.res \
137131
test_command_count.res \
138132
test_crypt.res \
139133
test_cscope.res \
134+
test_curswant.res \
140135
test_diffmode.res \
141136
test_digraph.res \
142137
test_display.res \
143138
test_edit.res \
144139
test_farsi.res \
140+
test_file_size.res \
145141
test_fnameescape.res \
146142
test_fold.res \
147143
test_gf.res \
@@ -158,6 +154,8 @@ NEW_TESTS = test_arabic.res \
158154
test_job_fails.res \
159155
test_json.res \
160156
test_langmap.res \
157+
test_let.res \
158+
test_lineending.res \
161159
test_listlbr.res \
162160
test_listlbr_utf8.res \
163161
test_lua.res \
@@ -186,6 +184,7 @@ NEW_TESTS = test_arabic.res \
186184
test_retab.res \
187185
test_registers.res \
188186
test_ruby.res \
187+
test_scrollbind.res \
189188
test_search.res \
190189
test_signs.res \
191190
test_smartindent.res \

src/testdir/Make_vms.mms

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@
5454
# Comment out if you have GNU compatible diff on your system
5555
# HAVE_GDIFF = YES
5656

57-
# Comment out if you have GNU compatible cksum on your system
58-
# HAVE_CKSUM = YES
59-
6057
# Comment out if you have ICONV support
6158
# HAVE_ICONV = YES
6259

@@ -77,9 +74,9 @@ VIMPROG = <->vim.exe
7774
.SUFFIXES : .out .in
7875

7976
SCRIPT = test1.out test3.out test4.out test5.out \
80-
test7.out test8.out test9.out \
77+
test7.out test8.out \
8178
test14.out test15.out \
82-
test19.out test20.out test22.out \
79+
test19.out test20.out \
8380
test28.out test29.out test30.out test31.out test32.out \
8481
test33.out test34.out test36.out test37.out \
8582
test38.out test39.out test40.out test41.out test42.out \
@@ -90,10 +87,10 @@ SCRIPT = test1.out test3.out test4.out test5.out \
9087
test66.out test68.out test69.out \
9188
test72.out \
9289
test77a.out test78.out test79.out test80.out \
93-
test84.out test88.out \
90+
test88.out \
9491
test91.out test94.out \
95-
test95.out test98.out test99.out \
96-
test103.out test104.out \
92+
test95.out test99.out \
93+
test103.out \
9794
test107.out test108.out\
9895
test_autocmd_option.out \
9996
test_autoformat_join.out \
@@ -164,10 +161,6 @@ SCRIPT_GZIP = test11.out
164161
SCRIPT_GDIFF = test47.out
165162
.ENDIF
166163

167-
.IFDEF HAVE_CKSUM
168-
SCRIPT_CKSUM = test77.out
169-
.ENDIF
170-
171164
.IFDEF HAVE_ICONV
172165
SCRIPT_ICONV = test83.out
173166
.ENDIF
@@ -201,7 +194,7 @@ SCRIPT_PYTHON = test86.out test87.out
201194
-@ if "''F$SEARCH("Xtest.*")'" .NES. "" then delete/noconfirm/nolog Xtest.*.*
202195

203196
all : clean nolog $(START_WITH) $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_WIN) $(SCRIPT_SPELL) $(SCRIPT_ODS5) $(SCRIPT_GZIP) \
204-
$(SCRIPT_GDIFF) $(SCRIPT_MZSCH) $(SCRIPT_CKSUM) $(SCRIPT_ICONV) $(SCRIPT_LUA) $(SCRIPT_PYTHON) nolog
197+
$(SCRIPT_GDIFF) $(SCRIPT_MZSCH) $(SCRIPT_ICONV) $(SCRIPT_LUA) $(SCRIPT_PYTHON) nolog
205198
-@ write sys$output " "
206199
-@ write sys$output "-----------------------------------------------"
207200
-@ write sys$output " All done"
@@ -232,7 +225,6 @@ nolog :
232225
-@ write sys$output " HAVE_ODS5 = ""$(HAVE_ODS5)"" "
233226
-@ write sys$output " HAVE_GZIP = ""$(HAVE_GZIP)"" "
234227
-@ write sys$output " HAVE_GDIFF = ""$(HAVE_GDIFF)"" "
235-
-@ write sys$output " HAVE_CKSUM = ""$(HAVE_CKSUM)"" "
236228
-@ write sys$output " HAVE_ICONV = ""$(HAVE_ICONV)"" "
237229
-@ write sys$output " HAVE_LUA = ""$(HAVE_LUA)"" "
238230
-@ write sys$output " HAVE_PYTHON= ""$(HAVE_PYTHON)"" "

src/testdir/main.aap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
VimProg ?= ../vim
66

77
Scripts = test1.out test2.out test3.out test4.out test5.out test6.out
8-
test7.out test8.out test9.out test11.out
8+
test7.out test8.out test11.out
99
test12.out test13.out test14.out test15.out test17.out
10-
test18.out test19.out test20.out test21.out test22.out
10+
test18.out test19.out test20.out test21.out
1111
test25.out test27.out
1212
test28.out test29.out test30.out test31.out test32.out
1313
test33.out test34.out test36.out test37.out

src/testdir/test104.in

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/testdir/test104.ok

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/testdir/test22.in

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/testdir/test22.ok

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/testdir/test77.in

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/testdir/test77.ok

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)