comparison src/testdir/test_balloon.vim @ 16951:ebdf6cd89910 v8.1.1476

patch 8.1.1476: no statistics displayed after running tests commit https://github.com/vim/vim/commit/9c0cec65f891492314caadeef87a50251a21e630 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 6 13:38:15 2019 +0200 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 https://github.com/vim/vim/issues/4391) Also make it possible to report a skipped file.
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Jun 2019 13:45:05 +0200
parents 9c90cf08cfa8
children ba7727889385
comparison
equal deleted inserted replaced
16950:a8735038f8d5 16951:ebdf6cd89910
1 " Tests for 'balloonevalterm'. 1 " Tests for 'balloonevalterm'.
2 2
3 " Tests that only work in the terminal. 3 if !has('balloon_eval_term')
4 if has('balloon_eval_term') && !has('gui_running') 4 throw 'Skipped: balloon_eval_term feature missing'
5 endif
6
7 " A few tests only work in the terminal.
8 if !has('gui_running')
5 9
6 source screendump.vim 10 source screendump.vim
7 if !CanRunVimInTerminal() 11 if !CanRunVimInTerminal()
8 finish 12 throw 'Skipped: cannot run Vim in a terminal window'
9 endif 13 endif
10 14
11 let s:common_script =<< [CODE] 15 let s:common_script =<< [CODE]
12 call setline(1, ["one one one", "two tXo two", "three three three"]) 16 call setline(1, ["one one one", "two tXo two", "three three three"])
13 set balloonevalterm balloonexpr=MyBalloonExpr() balloondelay=100 17 set balloonevalterm balloonexpr=MyBalloonExpr() balloondelay=100