Mercurial > vim
changeset 18530:41b2506c7662 v8.1.2259
patch 8.1.2259: running tests may leave XfakeHOME behind
Commit: https://github.com/vim/vim/commit/7d2320414ffdd698c9a17d775f71e2c455c21624
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 5 22:37:20 2019 +0100
patch 8.1.2259: running tests may leave XfakeHOME behind
Problem: Running tests may leave XfakeHOME behind.
Solution: Source summarize.vim without using setup.vim. (closes https://github.com/vim/vim/issues/5177)
Also fix that on MS-Windows the test log isn't echoed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 05 Nov 2019 22:45:04 +0100 |
parents | 2fae433d5d9f |
children | 352597fa076b |
files | src/testdir/Make_dos.mak src/testdir/Makefile src/version.c |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/Make_dos.mak +++ b/src/testdir/Make_dos.mak @@ -75,7 +75,7 @@ report: $(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages @echo. @echo Test results: - @type test_result.log + @cmd /c type test_result.log @if exist test.log ( echo TEST FAILURE & exit /b 1 ) \ else ( echo ALL DONE )
--- a/src/testdir/Makefile +++ b/src/testdir/Makefile @@ -54,7 +54,7 @@ report: then cp test.log test_result.log; \ else echo No failures reported > test_result.log; \ fi" - $(RUN_VIMTEST) $(NO_INITS) -S summarize.vim messages $(REDIR_TEST_TO_NULL) + $(VIMPROG) -u NONE $(NO_INITS) -S summarize.vim messages $(REDIR_TEST_TO_NULL) @echo @echo 'Test results:' @cat test_result.log