changeset 23986:c1ba42fa843f v8.2.2535

patch 8.2.2535: MS-Windows: cannot run all vim9 tests Commit: https://github.com/vim/vim/commit/723ef5db980b2e69ef8bdc0dd448cb645491c464 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 20 20:13:42 2021 +0100 patch 8.2.2535: MS-Windows: cannot run all vim9 tests Problem: MS-Windows: cannot run all vim9 tests. Solution: Make test_vim9 target work.
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Feb 2021 20:15:03 +0100
parents 686f3c5377a3
children dca4c7dce63e
files src/Make_mvc.mak src/version.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -1489,6 +1489,16 @@ testclean:
 	$(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)
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2535,
+/**/
     2534,
 /**/
     2533,