summaryrefslogtreecommitdiff
path: root/src/Make_mvc.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-02-20 20:13:42 +0100
committerBram Moolenaar <Bram@vim.org>2021-02-20 20:13:42 +0100
commit723ef5db980b2e69ef8bdc0dd448cb645491c464 (patch)
tree7473adac6897b38cad9e5cc3088586bbb0c2342f /src/Make_mvc.mak
parenta1070eae77f635f08b6f2612726b905796baaa58 (diff)
downloadvim-git-723ef5db980b2e69ef8bdc0dd448cb645491c464.tar.gz
patch 8.2.2535: MS-Windows: cannot run all vim9 testsv8.2.2535
Problem: MS-Windows: cannot run all vim9 tests. Solution: Make test_vim9 target work.
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 dc2f645fb..257f7e033 100644
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -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)