diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-06 13:38:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-06 13:38:15 +0200 |
commit | 9c0cec65f891492314caadeef87a50251a21e630 (patch) | |
tree | ccf15ae17380248ffc511f53bf3e1dceb40bb628 /src/testdir/test_balloon.vim | |
parent | db294adc65d73ffa5cdf3d0ab45ccbf05b965414 (diff) |
patch 8.1.1476: no statistics displayed after running testsv8.1.1476
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.
Diffstat (limited to 'src/testdir/test_balloon.vim')
-rw-r--r-- | src/testdir/test_balloon.vim | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/testdir/test_balloon.vim b/src/testdir/test_balloon.vim index 39c2602be6..37fc57eb5c 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] |