diff src/Make_mvc.mak @ 14272:5403d789674f v8.1.0152

patch 8.1.0152: cannot easily run individual tests on MS-Windows commit https://github.com/vim/vim/commit/f3dc235576da7394fbe743aba732f43289f32c24 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 4 23:05:34 2018 +0200 patch 8.1.0152: cannot easily run individual tests on MS-Windows Problem: Cannot easily run individual tests on MS-Windows. Solution: Move the list of tests to a separate file. Add a build rule in the MSVC makefile.
author Christian Brabandt <cb@256bit.org>
date Wed, 04 Jul 2018 23:15:05 +0200
parents 352c2832d17f
children 195e8b1fcbbf
line wrap: on
line diff
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -693,6 +693,8 @@ CFLAGS = $(CFLAGS) /Zl /MTd
 ! endif
 !endif # DEBUG
 
+!include Make_all.mak
+
 INCL =	vim.h alloc.h arabic.h ascii.h ex_cmds.h farsi.h feature.h globals.h \
 	keymap.h macros.h option.h os_dos.h os_win32.h proto.h regexp.h \
 	spell.h structs.h term.h beval.h $(NBDEBUG_INCL)
@@ -1296,6 +1298,14 @@ testclean:
 	$(MAKE) /NOLOGO -f Make_dos.mak clean
 	cd ..
 
+$(NEW_TESTS):
+	cd testdir
+	- if exist $@.res del $@.res
+	$(MAKE) /NOLOGO -f Make_dos.mak nolog
+	$(MAKE) /NOLOGO -f Make_dos.mak $@.res
+	$(MAKE) /NOLOGO -f Make_dos.mak report
+	cd ..
+
 ###########################################################################
 
 # Create a default rule for transforming .c files to .obj files in $(OUTDIR)