diff src/testdir/Makefile @ 16955:54c2fe0eff03 v8.1.1478

patch 8.1.1478: still an error when running tests with the tiny version commit https://github.com/vim/vim/commit/18250e291a5b4b8e32229d99ccb7c895ff0ca637 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 6 14:28:54 2019 +0200 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
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Jun 2019 14:30:05 +0200
parents ebdf6cd89910
children 1266ca221df8
line wrap: on
line diff
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -49,6 +49,11 @@ gui:	nolog $(SCRIPTS_FIRST) $(SCRIPTS) $
 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:'