patch 9.0.0436: CI: running tests in parallel causes flakiness
Problem: CI: running tests in parallel causes flakiness.
Solution: Reorganize the MS-Windows runs. (Ken Takata, closes #11101)
diff --git a/src/errors.h b/src/errors.h
index 050cec7..43baa6a 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -2011,11 +2011,11 @@
INIT(= N_("E795: Cannot delete variable"));
EXTERN char e_cannot_delete_variable_str[]
INIT(= N_("E795: Cannot delete variable %s"));
+#endif
+#ifdef MSWIN
// E796
-# ifdef MSWIN
EXTERN char e_writing_to_device_disabled_with_opendevice_option[]
INIT(= N_("writing to device disabled with 'opendevice' option"));
-# endif
#endif
#ifdef FEAT_SPELL
EXTERN char e_spellfilemising_autocommand_deleted_buffer[]
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 8ae0cd0..203b8fa 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -198,9 +198,7 @@
# ifndef __MINGW32__
# include <shellapi.h>
# endif
-# if defined(FEAT_TOOLBAR) || defined(FEAT_BEVAL_GUI) || defined(FEAT_GUI_TABLINE)
-# include <commctrl.h>
-# endif
+# include <commctrl.h>
# include <windowsx.h>
#endif // PROTO
diff --git a/src/os_win32.c b/src/os_win32.c
index d936e4f..af2622c 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -2834,7 +2834,11 @@
return;
// Extract the first icon contained in the Vim executable.
- if (mch_icon_load((HANDLE *)&g_hVimIcon) == FAIL || g_hVimIcon == NULL)
+ if (
+# ifdef FEAT_LIBCALL
+ mch_icon_load((HANDLE *)&g_hVimIcon) == FAIL ||
+# endif
+ g_hVimIcon == NULL)
g_hVimIcon = ExtractIcon(NULL, (LPCSTR)exe_name, 0);
if (g_hVimIcon != NULL)
g_fCanChangeIcon = TRUE;
diff --git a/src/version.c b/src/version.c
index 29483f3..cd340b5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 436,
+/**/
435,
/**/
434,