summaryrefslogtreecommitdiffstats
path: root/src/testdir/Makefile
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-06 14:28:54 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-06 14:28:54 +0200
commit18250e291a5b4b8e32229d99ccb7c895ff0ca637 (patch)
tree27486f45355464d35f22506c6b930ecd30b1fb46 /src/testdir/Makefile
parentc7500f9cb5b9fbedb9f1a385fdc3790335054bd3 (diff)
patch 8.1.1478: still an error when running tests with the tiny versionv8.1.1478
Problem: Still an error when running tests with the tiny version. Solution: Do not try reading test.log
Diffstat (limited to 'src/testdir/Makefile')
-rw-r--r--src/testdir/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/Makefile b/src/testdir/Makefile
index 0abf66137d..4bfc40096e 100644
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -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:'