0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

patch 8.1.1478: still an error when running tests with the tiny version

Problem:    Still an error when running tests with the tiny version.
Solution:   Do not try reading test.log
This commit is contained in:
Bram Moolenaar
2019-06-06 14:28:54 +02:00
parent c7500f9cb5
commit 18250e291a
3 changed files with 7 additions and 5 deletions

View File

@@ -49,6 +49,11 @@ gui: nolog $(SCRIPTS_FIRST) $(SCRIPTS) $(SCRIPTS_GUI) newtests report
benchmark: $(SCRIPTS_BENCH)
report:
# without the +eval feature test_result.log is a copy of test.log
@/bin/sh -c "if test -f test.log; \
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)
@echo
@echo 'Test results:'

View File

@@ -50,12 +50,7 @@ if 1
catch " Catch-all
finally
call writefile(output, 'test_result.log') " overwrites an existing file
q!
endtry
endif
" This is executed without the eval feature
%d
r test.log
w test_result.log
q!

View File

@@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1478,
/**/
1477,
/**/