]> granicus.if.org Git - vim/commitdiff
patch 8.2.2535: MS-Windows: cannot run all vim9 tests v8.2.2535
authorBram Moolenaar <Bram@vim.org>
Sat, 20 Feb 2021 19:13:42 +0000 (20:13 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 20 Feb 2021 19:13:42 +0000 (20:13 +0100)
Problem:    MS-Windows: cannot run all vim9 tests.
Solution:   Make test_vim9 target work.

src/Make_mvc.mak
src/version.c

index dc2f645fb5f8e5f7bea2407df885e72fb24cb225..257f7e033f9ea04a4a92284183247740054def22 100644 (file)
@@ -1489,6 +1489,16 @@ $(NEW_TESTS):
        $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) report
        cd ..
 
+# Run Vim9 tests.
+# These do not depend on the executable, compile it when needed.
+test_vim9:
+       cd testdir
+       -del test_vim9_*.res
+       $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) nolog
+       $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) $(TEST_VIM9_RES)
+       $(MAKE) /NOLOGO -f Make_dos.mak VIMPROG=..\$(VIMTESTTARGET) report
+       cd ..
+
 ###########################################################################
 
 # Create a default rule for transforming .c files to .obj files in $(OUTDIR)
index 9363c3f5e61bb2ec9e47de78ddd99ce8e473cbc2..66f3fc6ae12320fa8953f31a81ac11329b012417 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2535,
 /**/
     2534,
 /**/