summaryrefslogtreecommitdiffstats
path: root/src/testdir/Makefile
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/Makefile
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/Makefile')
-rw-r--r--src/testdir/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testdir/Makefile b/src/testdir/Makefile
index c8ff87b3cf..ade975271c 100644
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -30,9 +30,9 @@ SCRIPTS_BENCH = bench_re_freeze.out
.SUFFIXES: .in .out .res .vim
-nongui: nolog $(SCRIPTS) newtests report
+nongui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) newtests report
-gui: nolog $(SCRIPTS) $(SCRIPTS_GUI) newtests report
+gui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) newtests report
benchmark: $(SCRIPTS_BENCH)
@@ -44,7 +44,10 @@ report:
else echo ALL DONE; \
fi"
-$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(VIMPROG)
+$(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(VIMPROG)
+
+# Must run test1 first to create small.vim.
+$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(SCRIPTS_FIRST)
RM_ON_RUN = test.out X* viminfo
RM_ON_START = tiny.vim small.vim mbyte.vim mzscheme.vim lua.vim test.ok benchmark.out