Mercurial > vim
comparison .github/workflows/ci-windows.yaml @ 22995:94656f3ff304 v8.2.2044
patch 8.2.2044: MS-Windows: swap file test sometimes fails
Commit: https://github.com/vim/vim/commit/5ee0981fb5259f94900ab25207caddf1fa61010d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 25 12:43:28 2020 +0100
patch 8.2.2044: MS-Windows: swap file test sometimes fails
Problem: MS-Windows: swap file test sometimes fails.
Solution: Use a more reliable way to change the process ID. When "timeout"
fails use "ping" to wait up to ten minutes. (Ken Takata,
closes #7365)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 25 Nov 2020 12:45:03 +0100 |
parents | f9d1d2acb2c7 |
children |
comparison
equal
deleted
inserted
replaced
22994:1d635e77266d | 22995:94656f3ff304 |
---|---|
213 echo %COL_GREEN%Wait for vim tests to finish.%COL_RESET% | 213 echo %COL_GREEN%Wait for vim tests to finish.%COL_RESET% |
214 cd ..\src2\testdir | 214 cd ..\src2\testdir |
215 :: Wait about 10 minutes. | 215 :: Wait about 10 minutes. |
216 for /L %%i in (1,1,60) do ( | 216 for /L %%i in (1,1,60) do ( |
217 if exist done.txt goto exitloop | 217 if exist done.txt goto exitloop |
218 timeout 10 | 218 timeout 10 > NUL 2>&1 |
219 if ERRORLEVEL 1 ping -n 11 localhost > NUL | |
219 ) | 220 ) |
220 set timeout=1 | 221 set timeout=1 |
221 :exitloop | 222 :exitloop |
222 | 223 |
223 echo %COL_GREEN%Test results of vim:%COL_RESET% | 224 echo %COL_GREEN%Test results of vim:%COL_RESET% |