Mercurial > vim
comparison src/testdir/test_terminal2.vim @ 25969:a5a772dace5b v8.2.3518
patch 8.2.3518: Test_xrestore sometimes fails
Commit: https://github.com/vim/vim/commit/f08b0eb8691ff09f98bc4beef986ece1c521655f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 16 13:00:14 2021 +0100
patch 8.2.3518: Test_xrestore sometimes fails
Problem: Test_xrestore sometimes fails.
Solution: Mark the test as flayky. Move marking test as flaky to the test
instead of listing them in runtest.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Oct 2021 14:15:04 +0200 |
parents | 5b841f349e77 |
children | c6a57c46271e |
comparison
equal
deleted
inserted
replaced
25968:c506b33fff84 | 25969:a5a772dace5b |
---|---|
215 | 215 |
216 func Test_termwinscroll() | 216 func Test_termwinscroll() |
217 CheckUnix | 217 CheckUnix |
218 " TODO: Somehow this test sometimes hangs in the GUI | 218 " TODO: Somehow this test sometimes hangs in the GUI |
219 CheckNotGui | 219 CheckNotGui |
220 let g:test_is_flaky = 1 | |
220 | 221 |
221 " Let the terminal output more than 'termwinscroll' lines, some at the start | 222 " Let the terminal output more than 'termwinscroll' lines, some at the start |
222 " will be dropped. | 223 " will be dropped. |
223 exe 'set termwinscroll=' . &lines | 224 exe 'set termwinscroll=' . &lines |
224 let buf = term_start('/bin/sh') | 225 let buf = term_start('/bin/sh') |
410 | 411 |
411 func Test_terminal_does_not_truncate_last_newlines() | 412 func Test_terminal_does_not_truncate_last_newlines() |
412 if has('conpty') | 413 if has('conpty') |
413 throw 'Skipped: fail on ConPTY' | 414 throw 'Skipped: fail on ConPTY' |
414 endif | 415 endif |
416 let g:test_is_flaky = 1 | |
415 let contents = [ | 417 let contents = [ |
416 \ [ 'One', '', 'X' ], | 418 \ [ 'One', '', 'X' ], |
417 \ [ 'Two', '', '' ], | 419 \ [ 'Two', '', '' ], |
418 \ [ 'Three' ] + repeat([''], 30) | 420 \ [ 'Three' ] + repeat([''], 30) |
419 \ ] | 421 \ ] |