comparison src/testdir/screendump.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 9606c0adc148
children 60b5abfc4897
comparison
equal deleted inserted replaced
19686:a042d32afa7d 19687:c3f506e24eab
21 " Will wait for up to a second for the screen dump to match. 21 " Will wait for up to a second for the screen dump to match.
22 " Returns non-zero when verification fails. 22 " Returns non-zero when verification fails.
23 func VerifyScreenDump(buf, filename, options, ...) 23 func VerifyScreenDump(buf, filename, options, ...)
24 let reference = 'dumps/' . a:filename . '.dump' 24 let reference = 'dumps/' . a:filename . '.dump'
25 let testfile = 'failed/' . a:filename . '.dump' 25 let testfile = 'failed/' . a:filename . '.dump'
26
27 " Starting a terminal to make a screendump is always considered flaky.
28 let test_is_flaky = 1
26 29
27 " Redraw to execute the code that updates the screen. Otherwise we get the 30 " Redraw to execute the code that updates the screen. Otherwise we get the
28 " text and attributes only from the internal buffer. 31 " text and attributes only from the internal buffer.
29 redraw 32 redraw
30 33