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
diff --git a/src/testdir/Makefile b/src/testdir/Makefile
index 0abf661..4bfc400 100644
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -49,6 +49,11 @@
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:'
diff --git a/src/testdir/summarize.vim b/src/testdir/summarize.vim
index 54cb5c1..5baee63 100644
--- a/src/testdir/summarize.vim
+++ b/src/testdir/summarize.vim
@@ -50,12 +50,7 @@
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!
diff --git a/src/version.c b/src/version.c
index 1c8da44..6483911 100644
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1478,
+/**/
1477,
/**/
1476,