changeset 15174:963c1967f917 v8.1.0597

patch 8.1.0597: cannot run test_libvterm from the top directory commit https://github.com/vim/vim/commit/acecb3b9359dced16b471b9950594394183c503a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 15 16:19:50 2018 +0100 patch 8.1.0597: cannot run test_libvterm from the top directory Problem: Cannot run test_libvterm from the top directory. Solution: Add test target in toplevel Makefile.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Dec 2018 16:30:06 +0100
parents 0bc21915ee7c
children 58e8f4306a6d
files Makefile src/version.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 confi
 	@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.
--- a/src/version.c
+++ b/src/version.c
@@ -800,6 +800,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    597,
+/**/
     596,
 /**/
     595,