Mercurial > vim
changeset 29185:523a97eab139 v8.2.5112
patch 8.2.5112: gui test hangs on MS-Windows
Commit: https://github.com/vim/vim/commit/a272624c763fea9f98510bbc5b1f2b65a309c765
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 16 16:36:43 2022 +0100
patch 8.2.5112: gui test hangs on MS-Windows
Problem: Gui test hangs on MS-Windows.
Solution: Use "!start" to start Vim.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 16 Jun 2022 17:45:02 +0200 |
parents | 2e561df4e8ba |
children | b41c197d886e |
files | src/testdir/test_gui.vim src/version.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -1594,7 +1594,11 @@ func Test_gui_dialog_file() confirm qa END call writefile(lines, 'Xlines') - execute '!' .. GetVimCommand() .. ' -g -f --clean --gui-dialog-file Xdialog -S Xlines' + let prefix = '!' + if has('win32') + let prefix = '!start ' + endif + execute prefix .. GetVimCommand() .. ' -g -f --clean --gui-dialog-file Xdialog -S Xlines' call WaitForAssert({-> assert_true(filereadable('Xdialog'))}) call assert_match('Question: Save changes to "Xfile"?', readfile('Xdialog')->join('<NL>'))