]> granicus.if.org Git - vim/commitdiff
patch 8.1.0597: cannot run test_libvterm from the top directory v8.1.0597
authorBram Moolenaar <Bram@vim.org>
Sat, 15 Dec 2018 15:19:50 +0000 (16:19 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 15 Dec 2018 15:19:50 +0000 (16:19 +0100)
Problem:    Cannot run test_libvterm from the top directory.
Solution:   Add test target in toplevel Makefile.

Makefile
src/version.c

index 4a7c4c6642b6d2919b466c9d9f2845893bc4e91f..3e69d4501cf9ecb7336a8f7d65d6120ae8e42cec 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ first:
 
 # Some make programs use the last target for the $@ default; put the other
 # targets separately to always let $@ expand to "first" by default.
-all install uninstall tools config configure reconfig proto depend lint tags types test scripttests unittests testclean clean distclean:
+all install uninstall tools config configure reconfig proto depend lint tags types test scripttests test_libvterm unittests testclean clean distclean:
        @if test ! -f src/auto/config.mk; then \
                cp src/config.mk.dist src/auto/config.mk; \
        fi
@@ -40,6 +40,10 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
        @echo "If there are problems, cd to the src directory and run make there"
        cd src && $(MAKE) $@
 
+test: all
+       cd src && $(MAKE) test
+       cd runtime/indent && $(MAKE) clean && $(MAKE) test
+               
 
 #########################################################################
 # 2. Creating the various distribution files.
index 577be31d96b9eb5c2a68cd7604d76654334172d9..a85295a6cb988447e486a4c28101420ee8b73198 100644 (file)
@@ -799,6 +799,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    597,
 /**/
     596,
 /**/