diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-13 21:42:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-13 21:42:45 +0100 |
commit | 2d12c25a1b73fb6991006fd970b3132ab8ee8b62 (patch) | |
tree | 792f7cec3f4beb90fc67ab120ea87e3155c13686 /src/testdir/runtest.vim | |
parent | db77c49401145d76441fbb3d22a1d7d987681c13 (diff) |
patch 8.2.5084: when the GUI shows a dialog tests get stuckv8.2.5084
Problem: When the GUI shows a dialog tests get stuck.
Solution: Add the --gui-dialog-file argument.
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r-- | src/testdir/runtest.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 766f983cf9..a4c238e8a2 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -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() |