Skip to content

Commit a608243

Browse files
committed
patch 7.4.983
Problem: Executing one test after "make testclean" doesn't work. Solution: Add a dependency on test1.out.
1 parent 7b6156f commit a608243

File tree

8 files changed

+36
-16
lines changed

8 files changed

+36
-16
lines changed

src/testdir/Make_all.mak

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
# Common Makefile, defines the list of tests to run.
33
#
44

5+
# The first script creates small.vim.
6+
SCRIPTS_FIRST = \
7+
test1.out
8+
59
# Tests that run on all systems.
610
SCRIPTS_ALL = \
7-
test1.out \
811
test3.out \
912
test4.out \
1013
test5.out \

src/testdir/Make_amiga.mak

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ include Make_all.mak
2020

2121
SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE3) $(SCRIPTS_MORE4)
2222

23+
# Must run test1 first to create small.vim.
24+
$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(SCRIPTS_FIRST)
25+
2326
.SUFFIXES: .in .out
2427

25-
nongui: /tmp $(SCRIPTS)
28+
nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS)
2629
csh -c echo ALL DONE
2730

2831
clean:

src/testdir/Make_dos.mak

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,23 @@ VIMPROG = ..\\vim
1717

1818
SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE3) $(SCRIPTS_MORE4)
1919

20-
TEST_OUTFILES = $(SCRIPTS) $(SCRIPTS_WIN32) $(SCRIPTS_GUI)
20+
TEST_OUTFILES = $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) $(SCRIPTS_GUI)
2121
DOSTMP = dostmp
2222
DOSTMP_OUTFILES = $(TEST_OUTFILES:test=dostmp\test)
2323
DOSTMP_INFILES = $(DOSTMP_OUTFILES:.out=.in)
2424

2525
.SUFFIXES: .in .out
2626

27-
nongui: nolog $(SCRIPTS) report
27+
# Must run test1 first to create small.vim.
28+
$(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS): $(SCRIPTS_FIRST)
29+
30+
nongui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) report
2831

2932
small: nolog report
3033

31-
gui: nolog $(SCRIPTS) $(SCRIPTS_GUI) report
34+
gui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) report
3235

33-
win32: nolog $(SCRIPTS) $(SCRIPTS_WIN32) report
36+
win32: nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) report
3437

3538
# Copy the input files to dostmp, changing the fileformat to dos.
3639
$(DOSTMP_INFILES): $(*B).in

src/testdir/Make_ming.mak

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,26 @@ SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE4) $(SCRIPTS_WIN32)
3939

4040
SCRIPTS_BENCH = bench_re_freeze.out
4141

42+
# Must run test1 first to create small.vim.
43+
$(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS): $(SCRIPTS_FIRST)
44+
4245
.SUFFIXES: .in .out
4346

44-
vimall: fixff $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32)
47+
vimall: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32)
4548
echo ALL DONE
4649

47-
nongui: fixff $(SCRIPTS)
50+
nongui: fixff $(SCRIPTS_FIRST) $(SCRIPTS)
4851
echo ALL DONE
4952

5053
benchmark: $(SCRIPTS_BENCH)
5154

5255
small:
5356
echo ALL DONE
5457

55-
gui: fixff $(SCRIPTS) $(SCRIPTS_GUI)
58+
gui: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI)
5659
echo ALL DONE
5760

58-
win32: fixff $(SCRIPTS) $(SCRIPTS_WIN32)
61+
win32: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32)
5962
echo ALL DONE
6063

6164
fixff:

src/testdir/Make_os2.mak

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ SCRIPTS_BENCH = bench_re_freeze.out
2828

2929
.SUFFIXES: .in .out
3030

31-
all: /tmp $(SCRIPTS)
31+
all: /tmp $(SCRIPTS_FIRST) $(SCRIPTS)
3232
@echo ALL DONE
3333

34-
$(SCRIPTS): $(VIMPROG)
34+
$(SCRIPTS_FIRST) $(SCRIPTS): $(VIMPROG)
35+
36+
# Must run test1 first to create small.vim.
37+
$(SCRIPTS): $(SCRIPTS_FIRST)
3538

3639
benchmark: $(SCRIPTS_BENCH)
3740

src/testdir/Make_vms.mms

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ SCRIPT_PYTHON = test86.out test87.out
170170
-@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.*
171171
-@ if "''F$SEARCH("Xtest.*")'" .NES. "" then delete/noconfirm/nolog Xtest.*.*
172172

173-
all : clean nolog $(START_WITH) $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_WIN) $(SCRIPT_SPELL) $(SCRIPT_ODS5) $(SCRIPT_GZIP) \
173+
all : clean nolog $(SCRIPTS_FIRST) $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_WIN) $(SCRIPT_SPELL) $(SCRIPT_ODS5) $(SCRIPT_GZIP) \
174174
$(SCRIPT_GDIFF) $(SCRIPT_MZSCH) $(SCRIPT_CKSUM) $(SCRIPT_ICONV) $(SCRIPT_LUA) $(SCRIPT_PYTHON) nolog
175175
-@ write sys$output " "
176176
-@ write sys$output "-----------------------------------------------"

src/testdir/Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ SCRIPTS_BENCH = bench_re_freeze.out
3030

3131
.SUFFIXES: .in .out .res .vim
3232

33-
nongui: nolog $(SCRIPTS) newtests report
33+
nongui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) newtests report
3434

35-
gui: nolog $(SCRIPTS) $(SCRIPTS_GUI) newtests report
35+
gui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) newtests report
3636

3737
benchmark: $(SCRIPTS_BENCH)
3838

@@ -44,7 +44,10 @@ report:
4444
else echo ALL DONE; \
4545
fi"
4646

47-
$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(VIMPROG)
47+
$(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(VIMPROG)
48+
49+
# Must run test1 first to create small.vim.
50+
$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(SCRIPTS_FIRST)
4851

4952
RM_ON_RUN = test.out X* viminfo
5053
RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
983,
744746
/**/
745747
982,
746748
/**/

0 commit comments

Comments
 (0)