diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-12-28 16:26:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-12-28 16:26:45 +0100 |
commit | a60824308cd9bc192c5d38fc16cccfcf652b40f6 (patch) | |
tree | bc93537c7f79e018f95c31d061ad06490be942e0 /src | |
parent | 7b6156f4cd4027b664a916ba546e9b05d4c49e11 (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')
-rw-r--r-- | src/testdir/Make_all.mak | 5 | ||||
-rw-r--r-- | src/testdir/Make_amiga.mak | 5 | ||||
-rw-r--r-- | src/testdir/Make_dos.mak | 11 | ||||
-rw-r--r-- | src/testdir/Make_ming.mak | 11 | ||||
-rw-r--r-- | src/testdir/Make_os2.mak | 7 | ||||
-rw-r--r-- | src/testdir/Make_vms.mms | 2 | ||||
-rw-r--r-- | src/testdir/Makefile | 9 | ||||
-rw-r--r-- | src/version.c | 2 |
8 files changed, 36 insertions, 16 deletions
diff --git a/src/testdir/Make_all.mak b/src/testdir/Make_all.mak index 1318cfd75c..c88ed1c2f7 100644 --- a/src/testdir/Make_all.mak +++ b/src/testdir/Make_all.mak @@ -2,9 +2,12 @@ # Common Makefile, defines the list of tests to run. # +# The first script creates small.vim. +SCRIPTS_FIRST = \ + test1.out + # Tests that run on all systems. SCRIPTS_ALL = \ - test1.out \ test3.out \ test4.out \ test5.out \ diff --git a/src/testdir/Make_amiga.mak b/src/testdir/Make_amiga.mak index 8948382a6a..edb390d1f1 100644 --- a/src/testdir/Make_amiga.mak +++ b/src/testdir/Make_amiga.mak @@ -20,9 +20,12 @@ include Make_all.mak SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE3) $(SCRIPTS_MORE4) +# Must run test1 first to create small.vim. +$(SCRIPTS) $(SCRIPTS_GUI) $(NEW_TESTS): $(SCRIPTS_FIRST) + .SUFFIXES: .in .out -nongui: /tmp $(SCRIPTS) +nongui: /tmp $(SCRIPTS_FIRST) $(SCRIPTS) csh -c echo ALL DONE clean: 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 diff --git a/src/testdir/Make_ming.mak b/src/testdir/Make_ming.mak index 393c60d9e3..2237f570b4 100644 --- a/src/testdir/Make_ming.mak +++ b/src/testdir/Make_ming.mak @@ -39,12 +39,15 @@ SCRIPTS = $(SCRIPTS_ALL) $(SCRIPTS_MORE1) $(SCRIPTS_MORE4) $(SCRIPTS_WIN32) SCRIPTS_BENCH = bench_re_freeze.out +# Must run test1 first to create small.vim. +$(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) $(NEW_TESTS): $(SCRIPTS_FIRST) + .SUFFIXES: .in .out -vimall: fixff $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) +vimall: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) $(SCRIPTS_WIN32) echo ALL DONE -nongui: fixff $(SCRIPTS) +nongui: fixff $(SCRIPTS_FIRST) $(SCRIPTS) echo ALL DONE benchmark: $(SCRIPTS_BENCH) @@ -52,10 +55,10 @@ benchmark: $(SCRIPTS_BENCH) small: echo ALL DONE -gui: fixff $(SCRIPTS) $(SCRIPTS_GUI) +gui: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) echo ALL DONE -win32: fixff $(SCRIPTS) $(SCRIPTS_WIN32) +win32: fixff $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_WIN32) echo ALL DONE fixff: diff --git a/src/testdir/Make_os2.mak b/src/testdir/Make_os2.mak index 12fe8c0a17..fd25ab87e9 100644 --- a/src/testdir/Make_os2.mak +++ b/src/testdir/Make_os2.mak @@ -28,10 +28,13 @@ SCRIPTS_BENCH = bench_re_freeze.out .SUFFIXES: .in .out -all: /tmp $(SCRIPTS) +all: /tmp $(SCRIPTS_FIRST) $(SCRIPTS) @echo ALL DONE -$(SCRIPTS): $(VIMPROG) +$(SCRIPTS_FIRST) $(SCRIPTS): $(VIMPROG) + +# Must run test1 first to create small.vim. +$(SCRIPTS): $(SCRIPTS_FIRST) benchmark: $(SCRIPTS_BENCH) diff --git a/src/testdir/Make_vms.mms b/src/testdir/Make_vms.mms index 8bcf257459..415a13fa50 100644 --- a/src/testdir/Make_vms.mms +++ b/src/testdir/Make_vms.mms @@ -170,7 +170,7 @@ SCRIPT_PYTHON = test86.out test87.out -@ if "''F$SEARCH("Xdotest.*")'" .NES. "" then delete/noconfirm/nolog Xdotest.*.* -@ if "''F$SEARCH("Xtest.*")'" .NES. "" then delete/noconfirm/nolog Xtest.*.* -all : clean nolog $(START_WITH) $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_WIN) $(SCRIPT_SPELL) $(SCRIPT_ODS5) $(SCRIPT_GZIP) \ +all : clean nolog $(SCRIPTS_FIRST) $(SCRIPT) $(SCRIPT_GUI) $(SCRIPT_UNIX) $(SCRIPT_WIN) $(SCRIPT_SPELL) $(SCRIPT_ODS5) $(SCRIPT_GZIP) \ $(SCRIPT_GDIFF) $(SCRIPT_MZSCH) $(SCRIPT_CKSUM) $(SCRIPT_ICONV) $(SCRIPT_LUA) $(SCRIPT_PYTHON) nolog -@ write sys$output " " -@ write sys$output "-----------------------------------------------" 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 diff --git a/src/version.c b/src/version.c index 60a9b547a4..67f8d77f09 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 983, +/**/ 982, /**/ 981, |