summaryrefslogtreecommitdiffstats
path: root/src/Make_mvc.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-07-04 23:05:34 +0200
committerBram Moolenaar <Bram@vim.org>2018-07-04 23:05:34 +0200
commitf3dc235576da7394fbe743aba732f43289f32c24 (patch)
treed02cab7108def3a6560d0d4a3796da2d44a016d9 /src/Make_mvc.mak
parent81e2ac7bb68a0321529ad5c89c8674caab4bca6b (diff)
patch 8.1.0152: cannot easily run individual tests on MS-Windowsv8.1.0152
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.
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r--src/Make_mvc.mak10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
index 8cb443c7c5..f32903392e 100644
--- 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)