1
0
forked from aniani/vim

patch 8.2.5084: when the GUI shows a dialog tests get stuck

Problem:    When the GUI shows a dialog tests get stuck.
Solution:   Add the --gui-dialog-file argument.
This commit is contained in:
Bram Moolenaar
2022-06-13 21:42:45 +01:00
parent db77c49401
commit 2d12c25a1b
15 changed files with 111 additions and 18 deletions

View File

@@ -245,6 +245,12 @@ func RunTheTest(test)
call popup_clear(1)
endif
if filereadable('guidialogfile')
call add(v:errors, "Unexpected dialog:")
call add(v:errors, readfile('guidialogfile').join('\n'))
call delete('guidialogfile')
endif
" Close any extra tab pages and windows and make the current one not modified.
while tabpagenr('$') > 1
let winid = win_getid()