Skip to content

Commit 6046197

Browse files
committed
patch 7.4.1002
Problem: Cannot run an individual test on MS-Windows. Solution: Move the rule to run test1 downwards. (Ken Takata)
1 parent f49e240 commit 6046197

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/testdir/Make_dos.mak

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ DOSTMP_INFILES = $(DOSTMP_OUTFILES:.out=.in)
2727

2828
.SUFFIXES: .in .out .res .vim
2929

30-
# Must run test1 first to create small.vim.
31-
$(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS): $(SCRIPTS_FIRST)
32-
3330
nongui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) newtests report
3431

3532
small: nolog report
@@ -67,6 +64,11 @@ $(TEST_OUTFILES): $(DOSTMP)\$(*B).in
6764
& echo $* FAILED >> test.log ) \
6865
else ( move /y test.out $*.out )
6966

67+
# Must run test1 first to create small.vim.
68+
# This rule must come after the one that copies the input files to dostmp to
69+
# allow for running an individual test.
70+
$(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS): $(SCRIPTS_FIRST)
71+
7072
report:
7173
@echo ""
7274
@echo Test results:

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+
1002,
744746
/**/
745747
1001,
746748
/**/

0 commit comments

Comments
 (0)