comparison src/testdir/test_autocmd.vim @ 19687:c3f506e24eab v8.2.0400

patch 8.2.0400: not all tests using a terminal are in the list of flaky tests Commit: https://github.com/vim/vim/commit/3cdcb090a664e182078f7cc0ca3e4e5a94bbb784 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 18 19:18:10 2020 +0100 patch 8.2.0400: not all tests using a terminal are in the list of flaky tests Problem: Not all tests using a terminal are in the list of flaky tests. Solution: Introduce the test_is_flaky flag.
author Bram Moolenaar <Bram@vim.org>
date Wed, 18 Mar 2020 19:30:04 +0100
parents 283c8bc6a8e2
children 60b5abfc4897
comparison
equal deleted inserted replaced
19686:a042d32afa7d 19687:c3f506e24eab
1866 endfunc 1866 endfunc
1867 1867
1868 func Test_Changed_FirstTime() 1868 func Test_Changed_FirstTime()
1869 CheckFeature terminal 1869 CheckFeature terminal
1870 CheckNotGui 1870 CheckNotGui
1871 " Starting a terminal to run Vim is always considered flaky.
1872 let test_is_flaky = 1
1871 1873
1872 " Prepare file for TextChanged event. 1874 " Prepare file for TextChanged event.
1873 call writefile([''], 'Xchanged.txt') 1875 call writefile([''], 'Xchanged.txt')
1874 let buf = term_start([GetVimProg(), '--clean', '-c', 'set noswapfile'], {'term_rows': 3}) 1876 let buf = term_start([GetVimProg(), '--clean', '-c', 'set noswapfile'], {'term_rows': 3})
1875 call assert_equal('running', term_getstatus(buf)) 1877 call assert_equal('running', term_getstatus(buf))