patch 9.1.2076: tests: MinGW test fails midway and stops

Commit: 
https://github.com/vim/vim/commit/8ddbd31c18f2f35c0fdc8ddae8c01037428d65bf
Author: Muraoka Taro <[email protected]>
Date:   Sat Jan 10 18:07:09 2026 +0000

    patch 9.1.2076: tests: MinGW test fails midway and stops
    
    Problem:  tests: When running the MinGW test, an error occurs after
              generating opt_test.vim.
    Solution: Rewrite the error detection in cmd.exe syntax (Muraoka Taro).
    
    The recipe section of src/testdir/Make_ming.mak must be written in
    cmd.exe syntax.  This is because "SHELL = cmd.exe" is specified at the
    beginning.  However, the error detection in the opt_test.vim recipe is
    written in UNXI syntax, which caused the error.
    
    closes: #19146
    
    Signed-off-by: Muraoka Taro <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/testdir/Make_ming.mak b/src/testdir/Make_ming.mak
index 956ef7e43..8d54500de 100644
--- a/src/testdir/Make_ming.mak
+++ b/src/testdir/Make_ming.mak
@@ -160,10 +160,7 @@ test_gui_init.res: test_gui_init.vim
 
 opt_test.vim: util/gen_opt_test.vim ../optiondefs.h 
../../runtime/doc/options.txt
        $(VIMPROG) -e -s -u NONE $(COMMON_ARGS) --nofork -S $^
-       @if test -f gen_opt_test.log; then \
-               cat gen_opt_test.log; \
-               exit 1; \
-       fi
+       @if exist gen_opt_test.log ( type gen_opt_test.log & exit /b 1 )
 
 test_bench_regexp.res: test_bench_regexp.vim
        -$(DEL) benchmark.out
diff --git a/src/version.c b/src/version.c
index ef7ccf959..0b25427a0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2076,
 /**/
     2075,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vedUN-006Jke-Al%40256bit.org.

Raspunde prin e-mail lui