summaryrefslogtreecommitdiffstats
path: root/src/testdir/Make_dos.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-12-28 16:26:45 +0100
committerBram Moolenaar <Bram@vim.org>2015-12-28 16:26:45 +0100
commita60824308cd9bc192c5d38fc16cccfcf652b40f6 (patch)
treebc93537c7f79e018f95c31d061ad06490be942e0 /src/testdir/Make_dos.mak
parent7b6156f4cd4027b664a916ba546e9b05d4c49e11 (diff)
patch 7.4.983v7.4.983
Problem: Executing one test after "make testclean" doesn't work. Solution: Add a dependency on test1.out.
Diffstat (limited to 'src/testdir/Make_dos.mak')
-rw-r--r--src/testdir/Make_dos.mak11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/testdir/Make_dos.mak b/src/testdir/Make_dos.mak
index 12ff9ba3ed..6e92668c8b 100644
--- a/src/testdir/Make_dos.mak
+++ b/src/testdir/Make_dos.mak
@@ -17,20 +17,23 @@ VIMPROG = ..\\vim
SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE3) $(SCRIPTS_MORE4)
-TEST_OUTFILES = $(SCRIPTS) $(SCRIPTS_WIN32) $(SCRIPTS_GUI)
+TEST_OUTFILES = $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) $(SCRIPTS_GUI)
DOSTMP = dostmp
DOSTMP_OUTFILES = $(TEST_OUTFILES:test=dostmp\test)
DOSTMP_INFILES = $(DOSTMP_OUTFILES:.out=.in)
.SUFFIXES: .in .out
-nongui: nolog $(SCRIPTS) report
+# Must run test1 first to create small.vim.
+$(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS): $(SCRIPTS_FIRST)
+
+nongui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) report
small: nolog report
-gui: nolog $(SCRIPTS) $(SCRIPTS_GUI) report
+gui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) report
-win32: nolog $(SCRIPTS) $(SCRIPTS_WIN32) report
+win32: nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) report
# Copy the input files to dostmp, changing the fileformat to dos.
$(DOSTMP_INFILES): $(*B).in