Mercurial > vim
diff src/testdir/Makefile @ 7356:f0eb9aa9eb32 v7.4.983
commit https://github.com/vim/vim/commit/a60824308cd9bc192c5d38fc16cccfcf652b40f6
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 28 16:26:45 2015 +0100
patch 7.4.983
Problem: Executing one test after "make testclean" doesn't work.
Solution: Add a dependency on test1.out.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 28 Dec 2015 16:30:04 +0100 |
parents | 81dc9e30aad6 |
children | eec1dc8ca160 |
line wrap: on
line diff
--- 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