patch 8.1.1476: no statistics displayed after running tests
Problem: No statistics displayed after running tests.
Solution: Summarize the test results. (Christian Brabandt, closes #4391)
Also make it possible to report a skipped file.
diff --git a/src/testdir/test_balloon.vim b/src/testdir/test_balloon.vim
index 39c2602..37fc57e 100644
--- a/src/testdir/test_balloon.vim
+++ b/src/testdir/test_balloon.vim
@@ -1,11 +1,15 @@
" Tests for 'balloonevalterm'.
-" Tests that only work in the terminal.
-if has('balloon_eval_term') && !has('gui_running')
+if !has('balloon_eval_term')
+ throw 'Skipped: balloon_eval_term feature missing'
+endif
+
+" A few tests only work in the terminal.
+if !has('gui_running')
source screendump.vim
if !CanRunVimInTerminal()
- finish
+ throw 'Skipped: cannot run Vim in a terminal window'
endif
let s:common_script =<< [CODE]